Enable bloblist support so that U-Boot can pick up a Firmware Handoff
transfer list from the boot stage that initializes the DRAM.

That boot stage can describe the DRAM with a devicetree overlay in the
transfer list: its size and the regions reserved for the DRAM
controller, which depend on the DRAM fitted to the board and so cannot
be described by the devicetree built into U-Boot.

Allocate the bloblist in SPL. SPL otherwise defaults to a bloblist at a
fixed address, which this configuration does not set.

Reviewed-by: Carlo Caione <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: David Lechner <[email protected]>
---
 configs/mt8189.config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/mt8189.config b/configs/mt8189.config
index 7d526041ebf..efa95a2fe03 100644
--- a/configs/mt8189.config
+++ b/configs/mt8189.config
@@ -12,6 +12,7 @@ CONFIG_SYS_LOAD_ADDR=0x4c000000
 CONFIG_FIT=y
 CONFIG_BOOTSTD_FULL=y
 # CONFIG_BOARD_INIT is not set
+CONFIG_BLOBLIST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
@@ -96,3 +97,4 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=1
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_ATF=y
 CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y
+CONFIG_SPL_BLOBLIST_ALLOC=y

-- 
2.53.0

Reply via email to