diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2015-08-17 19:54:48 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-28 12:33:14 -0400 |
commit | 401f2d91acac2b455dbaf222982ad461d5a2e43e (patch) | |
tree | 14c53e624a07da45d7ed2e45b833d36a6a3916e7 /arch/arm | |
parent | a85da21f7527e70a2b81d71aa73d318fb354e912 (diff) | |
download | u-boot-imx-401f2d91acac2b455dbaf222982ad461d5a2e43e.zip u-boot-imx-401f2d91acac2b455dbaf222982ad461d5a2e43e.tar.gz u-boot-imx-401f2d91acac2b455dbaf222982ad461d5a2e43e.tar.bz2 |
ARM: keystone2: configs: Move SP to end of u-boot section
Currently u-boot stack is defined at the beginning of MSMC RAM.
This is a problem for uart boot mode as ROM downloads directly to
starting of MSMC RAM.
Fixing it by moving stack to the end of u-boot section and shifting
SYS_TEXT_BASE to the start of MSMC RAM.
Updated division of MSMC RAM is shown below:
-----------------------------------------
| | | |
| U-Boot text |U-Boot | SPL text |
| download | Stack | Download + |
| | | SPL_BSS + |
| | | SPL_STACK |
-----------------------------------------
[1] [2] [3] [4]
[1] SYS_TEXT_BASE (Start of MSMC RAM)
[2] SPL_TEXT_BASE - GBL_DATA_SIZE
[3] SPL_TEXT_BASE
[4] END of SPL
[1] + [2] is at least 1M on all platforms, so no chance of overlap.
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions