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>
Showing
- arch/arm/lib/spl.c 3 additions, 4 deletionsarch/arm/lib/spl.c
- arch/microblaze/cpu/spl.c 3 additions, 3 deletionsarch/microblaze/cpu/spl.c
- arch/powerpc/lib/spl.c 4 additions, 4 deletionsarch/powerpc/lib/spl.c
- common/spl/spl.c 4 additions, 2 deletionscommon/spl/spl.c
- common/spl/spl_nor.c 1 addition, 7 deletionscommon/spl/spl_nor.c
- include/spl.h 2 additions, 3 deletionsinclude/spl.h
Please register or sign in to comment