diff options
author | Clément Léger <clement.leger@bootlin.com> | 2021-08-16 14:25:40 +0200 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2021-09-21 10:05:38 +0300 |
commit | 9a211d5776c6d05acf305a54d74836f801c85dd6 (patch) | |
tree | a8094acd913f7d8a4f2b6e3730f9a516184db728 /include/configs/sama5d27_som1_ek.h | |
parent | 73c1589f025d93e6709fd1c88f1f7e068935e6aa (diff) | |
download | u-boot-9a211d5776c6d05acf305a54d74836f801c85dd6.zip u-boot-9a211d5776c6d05acf305a54d74836f801c85dd6.tar.gz u-boot-9a211d5776c6d05acf305a54d74836f801c85dd6.tar.bz2 |
board: sama5d27_som1_ek: Modify load addresses
When using OP-TEE, address range [0x20000000 - 0x22000000] is reserved.
This modification allows to have a system which always work even when
OP-TEE is present.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Diffstat (limited to 'include/configs/sama5d27_som1_ek.h')
-rw-r--r-- | include/configs/sama5d27_som1_ek.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h index 89d8486..1c30e44 100644 --- a/include/configs/sama5d27_som1_ek.h +++ b/include/configs/sama5d27_som1_ek.h @@ -14,24 +14,20 @@ #undef CONFIG_SYS_AT91_MAIN_CLOCK #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */ -/* SDRAM */ -#define CONFIG_SYS_SDRAM_BASE 0x20000000 -#define CONFIG_SYS_SDRAM_SIZE 0x8000000 - #ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_INIT_SP_ADDR 0x218000 #else #define CONFIG_SYS_INIT_SP_ADDR \ - (CONFIG_SYS_SDRAM_BASE + 16 * 1024 - GENERATED_GBL_DATA_SIZE) + (0x22000000 + 16 * 1024 - GENERATED_GBL_DATA_SIZE) #endif #undef CONFIG_BOOTCOMMAND #ifdef CONFIG_SD_BOOT /* bootstrap + u-boot + env in sd card */ -#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 " \ +#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 " \ CONFIG_DEFAULT_DEVICE_TREE ".dtb; " \ - "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 zImage; " \ - "bootz 0x22000000 - 0x21000000" + "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x23000000 zImage; " \ + "bootz 0x23000000 - 0x22000000" #endif /* SPL */ |