board: armltd: Add support for Total Compute platform
PATCH v3 1/1 board: armltd: Add support for Total Compute platform
Total Compute is based on ARM architecture and has the following features enabled in u-boot:
- PL011 UART
- PL180 MMC
- NOR Flash
- FIT image with Signature
- AVB
---
Changes for v2:
- Added arch/arm/dts/total_compute.dts to board/armltd/total_compute/MAINTAINERS
- Added bootm_size of 512 MB for total compute board.
Changes for v3:
- Removed fdt_high and initrd_high to allow relocation
arch/arm/Kconfig | 11 +++ arch/arm/dts/Makefile | 2 + arch/arm/dts/total_compute.dts | 48 ++++++++++++ arch/arm/include/asm/gpio.h | 2 +- board/armltd/total_compute/Kconfig | 12 +++ board/armltd/total_compute/MAINTAINERS | 7 ++ board/armltd/total_compute/Makefile | 6 ++ board/armltd/total_compute/total_compute.c | 67 ++++++++++++++++ configs/total_compute_defconfig | 53 +++++++++++++ include/configs/total_compute.h | 89 ++++++++++++++++++++++ 10 files changed, 296 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/total_compute.dts create mode 100644 board/armltd/total_compute/Kconfig create mode 100644 board/armltd/total_compute/MAINTAINERS create mode 100644 board/armltd/total_compute/Makefile create mode 100644 board/armltd/total_compute/total_compute.c create mode 100644 configs/total_compute_defconfig create mode 100644 include/configs/total_compute.h
arch/arm/Kconfig +11 -0
@@ -1195,6 +1195,15 @@ config TARGET_VEXPRESS64_JUNO select USB select DM_USB +config TARGET_TOTAL_COMPUTE + bool "Support Total Compute Platform" + select ARM64 + select PL01X_SERIAL + select DM + select DM_SERIAL + select DM_MMC + select DM_GPIO + config TARGET_LS2080A_EMU bool "Support ls2080a_emu" select ARCH_LS2080A
@@ -1893,6 +1902,8 @@ source "arch/arm/mach-imx/Kconfig" source "arch/arm/mach-nexell/Kconfig" +source "board/armltd/total_compute/Kconfig" + source "board/bosch/shc/Kconfig" source "board/bosch/guardian/Kconfig" source "board/CarMediaLab/flea3/Kconfig"
arch/arm/dts/Makefile +2 -0
@@ -978,6 +978,8 @@ dtb-$(CONFIG_TARGET_VEXPRESS_CA5X2) += vexpress-v2p-ca5s.dtb dtb-$(CONFIG_TARGET_VEXPRESS_CA9X4) += vexpress-v2p-ca9.dtb dtb-$(CONFIG_TARGET_VEXPRESS_CA15_TC2) += vexpress-v2p-ca15_a7.dtb +dtb-$(CONFIG_TARGET_TOTAL_COMPUTE) += total_compute.dtb + dtb-$(CONFIG_TARGET_DURIAN) += phytium-durian.dtb dtb-$(CONFIG_TARGET_PRESIDIO_ASIC) += ca-presidio-engboard.dtb
arch/arm/dts/total_compute.dts new file +48 -0
48 lines not on this page · raw message
arch/arm/include/asm/gpio.h +1 -1
@@ -3,7 +3,7 @@ !defined (CONFIG_ARCH_BCM6858 ) && !defined (CONFIG_ARCH_BCM63158 ) && \ !defined (CONFIG_ARCH_ROCKCHIP ) && !defined (CONFIG_ARCH_ASPEED ) && \ !defined (CONFIG_ARCH_U8500 ) && !defined (CONFIG_CORTINA_PLATFORM ) && \ - !defined(CONFIG_TARGET_BCMNS3) + !defined(CONFIG_TARGET_BCMNS3) && !defined(CONFIG_TARGET_TOTAL_COMPUTE)#include <asm/arch/gpio.h> #endif #include <asm-generic/gpio.h>
board/armltd/total_compute/Kconfig new file +12 -0
@@ -0,0 +1,12 @@ +if TARGET_TOTAL_COMPUTE + +config SYS_BOARD + default "total_compute" + +config SYS_VENDOR + default "armltd" + +config SYS_CONFIG_NAME + default "total_compute" + +endif
board/armltd/total_compute/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +TOTAL_COMPUTE BOARD +M: Usama Arif <[email protected]> +S: Maintained +F: board/armltd/total_compute/ +F: include/configs/total_compute.h +F: configs/total_compute_defconfig +F: arch/arm/dts/total_compute.dts
board/armltd/total_compute/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# (C) Copyright 2020 Arm Limited +# Usama Arif <[email protected]> + +obj-y := total_compute.o
board/armltd/total_compute/total_compute.c new file +67 -0
67 lines not on this page · raw message
configs/total_compute_defconfig new file +53 -0
53 lines not on this page · raw message
include/configs/total_compute.h new file +89 -0
89 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v3 1/1 board: armltd: Add support for Total Compute platform
Quoted 9 lines · Usama Arif
Total Compute is based on ARM architecture and has the following features enabled in u-boot:
- PL011 UART
- PL180 MMC
- NOR Flash
- FIT image with Signature
- AVBSigned-off-by Usama Arif <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200812/2de71d5f/attachment.sig>
PATCH v3 1/1 board: armltd: Add support for Total Compute platform
Quoted 10 lines · Tom Rini
Quoted 8 lines · Usama Arif
Total Compute is based on ARM architecture and has the following features enabled in u-boot:
- PL011 UART
- PL180 MMC
- NOR Flash
- FIT image with Signature
- AVB
Quoted 4 lines
Quoted 1 line
Signed-off-by Usama Arif <[email protected]>Reviewed-by Tom Rini <[email protected]>
Hi,
Thanks for the review!
I am not completely sure about the review cycle in u-boot and just wanted to check if there was something required from my side to get this patch as well as patch [1/2] (avb: Make AVB independent of fastboot) merged in u-boot/master?
Thanks,
Usama
PATCH v3 1/1 board: armltd: Add support for Total Compute platform
In reply to Usama ArifQuoted 10 lines · Usama Arif
Total Compute is based on ARM architecture and has the following features enabled in u-boot:
- PL011 UART
- PL180 MMC
- NOR Flash
- FIT image with Signature
- AVBSigned-off-by Usama Arif <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200825/409afe24/attachment.sig>