]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: make image arg or fdt blob address reconfigurable
authorVikas Manocha <vikas.manocha@st.com>
Fri, 7 Apr 2017 22:38:13 +0000 (15:38 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:38:40 +0000 (11:38 -0400)
commit5bf5250e9d1555aa388a810213fd85106a60388e
tree87360d32104ad5604bf1088629803cde53e93c24
parentdc07961f5eb505bbf1d2cdfccf337b9e757ec41e
spl: make image arg or fdt blob address reconfigurable

At present fdt blob or argument address being passed to kernel is fixed at
compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from
different media like nand, nor flash are copied to the address pointed
by the macro.
The problem is, it makes args/fdt blob compulsory to copy which is not required
in cases like for NOR Flash. This patch removes this limitation.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/lib/spl.c
arch/microblaze/cpu/spl.c
arch/powerpc/lib/spl.c
common/spl/spl.c
common/spl/spl_nor.c
include/spl.h