Enable bloblist support on Total_Compute
cover Enable bloblist support on Total_Compute
This patch enhances the total_compute platform by enabling bloblist support. This facilitates information passing from TF-A via the firmware firmware handoff framework.
Jayanth Dodderi Chidanand (1):
board: total_Compute: enable bloblist for SPL handoff
arch/arm/Kconfig | 2 +- board/armltd/total_compute/Makefile | 2 +- board/armltd/total_compute/total_compute.c | 5 ++++- board/armltd/total_compute/total_compute.env | 6 ++++++ configs/total_compute_defconfig | 3 +++ 5 files changed, 15 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/1 board: total_Compute: enable bloblist for SPL handoff
Add bloblist support to total_comput platform for passing data from TF-A using the firmware handoff framework.
Signed-off-by Jayanth Dodderi Chidanand <[email protected]>
--- arch/arm/Kconfig | 2 +- board/armltd/total_compute/Makefile | 2 +- board/armltd/total_compute/total_compute.c | 5 ++++- board/armltd/total_compute/total_compute.env | 6 ++++++ configs/total_compute_defconfig | 3 +++ 5 files changed, 15 insertions(+), 3 deletions(-)
arch/arm/Kconfig +1 -1
@@ -1415,7 +1415,7 @@ config TARGET_TOTAL_COMPUTE select DM_SERIAL select DM_GPIO select MMC - imply OF_HAS_PRIOR_STAGE + imply OF_HAS_PRIOR_STAGE if !BLOBLIST imply MISC_INIT_R config TARGET_LS2080A_EMU
board/armltd/total_compute/Makefile +1 -1
@@ -4,4 +4,4 @@ # Usama Arif <[email protected]> obj-y := total_compute.o -obj-y += lowlevel_init.o +obj-$(CONFIG_OF_HAS_PRIOR_STAGE) += lowlevel_init.o
board/armltd/total_compute/total_compute.c +4 -1
@@ -31,6 +31,7 @@ static struct mm_region total_compute_mem_map[TC_MEM_MAP_MAX] = {struct mm_region *mem_map = total_compute_mem_map; +#ifdef CONFIG_OF_HAS_PRIOR_STAGE /* * Push the variable into the .data section so that it * does not get cleared later.
@@ -45,14 +46,16 @@ int board_fdt_blob_setup(void **fdtp) *fdtp = (void *)fw_dtb_pointer; return 0; } +#endif int misc_init_r (void ) {size_t base; +#ifdef CONFIG_OF_HAS_PRIOR_STAGE if (!env_get ("fdt_addr_r" ))env_set_hex ("fdt_addr_r" , fw_dtb_pointer); - +#endif if (!env_get ("kernel_addr_r" )) {/* * The kernel has to be 2M aligned and the first 64K at the
board/armltd/total_compute/total_compute.env +6 -0
@@ -11,6 +11,12 @@ bootcmd= blk_dev=mmc; fi; echo block device is ${blk_dev}; + if test -n "${fdt_addr_r}"; then + echo "Custom FDT at ${fdt_addr_r}"; + else; + setenv fdt_addr_r ${fdtcontroladdr}; + echo "FDT address is now set to ${fdt_addr_r}"; + fi; if part number ${blk_dev} 0 vbmeta is_avb; then echo '${blk_dev} with vbmeta partition detected.'; echo 'Starting Android Verified boot...';
configs/total_compute_defconfig +3 -0
@@ -55,3 +55,6 @@ CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_MAX_FLASH_SECT=256 # CONFIG_RANDOM_UUID is not set CONFIG_LIBAVB=y +CONFIG_BLOBLIST=y +CONFIG_BLOBLIST_PASSAGE_MANDATORY=y +CONFIG_BLOBLIST_SIZE_RELOC=0x10000
Signature · 1 line
2.34.1
Re: [PATCH 1/1] board: total_Compute: enable bloblist for SPL handoff
Quoted 4 lines · Jayanth Dodderi Chidanand
Add bloblist support to
total_computplatform for passing data from TF-A using the firmware handoff framework.
Applied to u-boot/master, thanks!
[1/1] board: total_Compute: enable bloblist for SPL handoff
commit: ab0e1c11a9e2591371474d9567db80ffc9060e1a
Signature · 1 line
Tom