diff options
author | Mans Rullgard <mans@mansr.com> | 2018-04-21 16:11:09 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-04-27 09:32:54 +0200 |
commit | 33ea119382d820294e22bc99c4ea32cb5fac1a71 (patch) | |
tree | 369599c740f8387d35d34a387dff94070850b5a4 /arch/arm/include | |
parent | 68f835557c3f2e5ad24b9cb1a11d85fc8fca6f1e (diff) | |
download | u-boot-33ea119382d820294e22bc99c4ea32cb5fac1a71.tar.gz |
ARM: mxs: move spl data
With full SPL enabled, the loaded image overwrites the mxs_spl_data
location. Moving it a slightly lower address fixes this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-mxs/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h index 609676375b..b23ee6d887 100644 --- a/arch/arm/include/asm/arch-mxs/sys_proto.h +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h @@ -85,6 +85,8 @@ static const struct mxs_pair mxs_boot_modes[] = { #define MXS_BM_SDMMC1_3V3 0x0a #define MXS_BM_SDMMC1_1V8 0x1a +#define MXS_SPL_DATA ((struct mxs_spl_data *)(CONFIG_SYS_TEXT_BASE - 0x200)) + struct mxs_spl_data { uint8_t boot_mode_idx; uint32_t mem_dram_size; |