davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full
authorAdam Ford <aford173@gmail.com>
Tue, 26 Feb 2019 03:53:46 +0000 (21:53 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2019 12:05:49 +0000 (08:05 -0400)
commit15b8c7505819fa48dd99fb51e91b9536f341fde1
treef911de62d23290cb80504c683236ee20e70bb3ea
parent45123804200a268c3bfc879b49bd30aef565b79b
davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full

In order to fully support SPL_OF_CONTROL, we need BSS to be a bit
larger. This patch relocates BSS to SDRAM instead of SRAM which
is similar to how ARMv7 boards (like OMAP2+) do it.

This means two new variables are required:
CONFIG_SPL_BSS_START_ADDR  set to DAVINCI_DDR_EMIF_DATA_BASE
CONFIG_SPL_BSS_MAX_SIZE is set to 0x1080000 which is 1 byte
before the location where U-Boot will load.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
include/configs/da850evm.h
include/configs/omapl138_lcdk.h