X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=board%2Ffreescale%2Fb4860qds%2Fspl.c;h=a27ad7fa842cf2614d2552071e5c913beb424473;hb=088454cde245b4d431ce0181be8b3cbceea059d6;hp=3f7cc03581afe07258b8fbf0bf8202e83869b7a0;hpb=24b852a7a2b8eca71789100983bdb5104cc00696;p=oweals%2Fu-boot.git diff --git a/board/freescale/b4860qds/spl.c b/board/freescale/b4860qds/spl.c index 3f7cc03581..a27ad7fa84 100644 --- a/board/freescale/b4860qds/spl.c +++ b/board/freescale/b4860qds/spl.c @@ -87,10 +87,11 @@ void board_init_r(gd_t *gd, ulong dest_addr) bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR; bd->bi_memsize = CONFIG_SYS_L3_SIZE; - probecpu(); + arch_cpu_init(); get_clocks(); mem_malloc_init(CONFIG_SPL_RELOC_MALLOC_ADDR, CONFIG_SPL_RELOC_MALLOC_SIZE); + gd->flags |= GD_FLG_FULL_MALLOC_INIT; #ifndef CONFIG_SPL_NAND_BOOT env_init(); @@ -107,7 +108,7 @@ void board_init_r(gd_t *gd, ulong dest_addr) puts("\n\n"); - gd->ram_size = initdram(0); + initdram(); #ifdef CONFIG_SPL_NAND_BOOT nand_boot();