diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0034-corstone1000-dts-remove-the-use-of-fdt_addr_r.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0034-corstone1000-dts-remove-the-use-of-fdt_addr_r.patch new file mode 100644 index 00000000..edb8962a --- /dev/null +++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0034-corstone1000-dts-remove-the-use-of-fdt_addr_r.patch @@ -0,0 +1,34 @@ +Upstream-Status: Pending [Not submitted to upstream yet] +Signed-off-by: Abdellatif El Khlifi + +From 871521cf90dabb1634af4e47cdf198f979f1907d Mon Sep 17 00:00:00 2001 +From: Abdellatif El Khlifi +Date: Mon, 6 Dec 2021 15:53:56 +0000 +Subject: [PATCH] corstone1000: dts: remove the use of fdt_addr_r + +The device tree is embedded in the u-boot binary +and located at the end of the DDR. Its address +is specified in fdtcontroladdr environment variable. + +No need to use fdt_addr_r anymore. + +Signed-off-by: Abdellatif El Khlifi +--- + include/configs/corstone1000.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h +index 7c6f66c891..31fc0cb29e 100644 +--- a/include/configs/corstone1000.h ++++ b/include/configs/corstone1000.h +@@ -96,7 +96,6 @@ + #define CONFIG_EXTRA_ENV_SETTINGS \ + BOOTENV \ + "usb_pgood_delay=250\0" \ +- "fdt_addr_r=0x82000000\0" \ + "boot_bank_flag=0x08002000\0" \ + "kernel_addr_bank_0=0x083EE000\0" \ + "kernel_addr_bank_1=0x0936E000\0" \ +-- +2.17.1 + diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend index e8e0e952..bc53c7e7 100644 --- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend @@ -43,6 +43,7 @@ SRC_URI:append:corstone1000 = " \ file://0031-corstone1000-change-base-address-of-kernel-in-the-fl.patch \ file://0032-arm-corstone1000-identify-which-bank-to-load-kernel.patch \ file://0033-corstone1000-dts-setting-the-boot-console-output.patch \ + file://0034-corstone1000-dts-remove-the-use-of-fdt_addr_r.patch \ " #