diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 1 | ||||
-rw-r--r-- | common/spl/spl_mmc.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index b05ec21ed6..0bd8370337 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -94,6 +94,7 @@ config SPL_STACK_R config SPL_STACK_R_ADDR depends on SPL_STACK_R hex "SDRAM location for SPL stack" + default 0x82000000 if ARCH_OMAP2PLUS help Specify the address in SDRAM for the SPL stack. This will be set up before board_init_r() is called. diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index b2cccc6c6e..b57e0b04e4 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -52,8 +52,9 @@ static ulong h_spl_load_read(struct spl_load_info *load, ulong sector, return blk_dread(mmc_get_blk_desc(mmc), sector, count, buf); } -static int mmc_load_image_raw_sector(struct spl_image_info *spl_image, - struct mmc *mmc, unsigned long sector) +static __maybe_unused +int mmc_load_image_raw_sector(struct spl_image_info *spl_image, + struct mmc *mmc, unsigned long sector) { unsigned long count; struct image_header *header; |