3 * David Feng <fenghua@phytium.com.cn>
4 * Sharma Bhupesh <bhupesh.sharma@freescale.com>
6 * SPDX-License-Identifier: GPL-2.0+
13 #include <linux/compiler.h>
14 #include <dm/platdata.h>
15 #include <dm/platform_data/serial_pl01x.h>
18 DECLARE_GLOBAL_DATA_PTR;
20 static const struct pl01x_serial_platdata serial_platdata = {
23 .clock = CONFIG_PL011_CLOCK,
26 U_BOOT_DEVICE(vexpress_serials) = {
27 .name = "serial_pl01x",
28 .platdata = &serial_platdata,
31 /* This function gets replaced by platforms supporting PCIe.
32 * The replacement function, eg. on Juno, initialises the PCIe bus.
34 __weak void vexpress64_pcie_init(void)
40 vexpress64_pcie_init();
46 gd->ram_size = PHYS_SDRAM_1_SIZE;
50 void dram_init_banksize(void)
52 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
53 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
55 gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
56 gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
61 * Board specific reset that is system reset.
63 void reset_cpu(ulong addr)
68 * Board specific ethernet initialization routine.
70 int board_eth_init(bd_t *bis)
73 #ifdef CONFIG_SMC91111
74 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
77 rc = smc911x_initialize(0, CONFIG_SMC911X_BASE);