X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Ffreescale%2Fmpc8313erdb%2Fmpc8313erdb.c;h=1445d29bad2cb5528a274379ada3ec13842af081;hb=7fefef5078d427e5b9e22e19352d492029cea6f2;hp=eac193e8177620aa57efe29c249dfb1f921a2410;hpb=878cd63e02f63f245182a101807186b44e20f116;p=oweals%2Fu-boot.git diff --git a/board/freescale/mpc8313erdb/mpc8313erdb.c b/board/freescale/mpc8313erdb/mpc8313erdb.c index eac193e817..1445d29bad 100644 --- a/board/freescale/mpc8313erdb/mpc8313erdb.c +++ b/board/freescale/mpc8313erdb/mpc8313erdb.c @@ -1,14 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) Freescale Semiconductor, Inc. 2006-2007 * * Author: Scott Wood - * - * SPDX-License-Identifier: GPL-2.0+ */ #include +#include +#include #if defined(CONFIG_OF_LIBFDT) -#include +#include #endif #include #include @@ -133,8 +134,8 @@ void board_init_f(ulong bootflag) NS16550_init((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE); puts("NAND boot... "); - init_timebase(); - initdram(0); + timer_init(); + dram_init(); relocate_code(CONFIG_SYS_NAND_U_BOOT_RELOC_SP, (gd_t *)gd, CONFIG_SYS_NAND_U_BOOT_RELOC); }