We now have the CONFIG_SPL_DM for code within SPL to toggle caring about
DM or not. Without this change platforms that do enable CONFIG_DM but
not CONFIG_SPL_DM may be broken (such as OMAP5).
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
ldr sp, =CONFIG_SPL_STACK
#endif
bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
ldr sp, =CONFIG_SPL_STACK
#endif
bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
#include <image.h>
#include <linux/compiler.h>
#include <image.h>
#include <linux/compiler.h>
/* Pointer to as well as the global data structure for SPL */
DECLARE_GLOBAL_DATA_PTR;
/* Pointer to as well as the global data structure for SPL */
DECLARE_GLOBAL_DATA_PTR;
/* Clear the BSS. */
memset(__bss_start, 0, __bss_end - __bss_start);
/* Clear the BSS. */
memset(__bss_start, 0, __bss_end - __bss_start);
/* TODO: Remove settings of the global data pointer here */
gd = &gdata;
#endif
/* TODO: Remove settings of the global data pointer here */
gd = &gdata;
#endif