• Lokesh Vutla's avatar
    ARM: keystone2: configs: Move SP to end of u-boot section · 401f2d91
    Lokesh Vutla authored
    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: default avatarNishanth Menon <nm@ti.com>
    Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
    401f2d91
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...