3 * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
6 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
7 * Marius Groeger <mgroeger@sysgo.de>
9 * SPDX-License-Identifier: GPL-2.0+
14 #include <asm/arch/pxa.h>
15 #include <asm/arch/pxa-regs.h>
16 #include <asm/arch/regs-mmc.h>
19 DECLARE_GLOBAL_DATA_PTR;
22 * Miscelaneous platform dependent initialisations
27 /* We have RAM, disable cache */
31 /* arch number of Lubbock-Board */
32 gd->bd->bi_arch_number = MACH_TYPE_LUBBOCK;
34 /* adress of boot parameters */
35 gd->bd->bi_boot_params = 0xa0000100;
37 /* Configure GPIO6 and GPIO8 as OUT, AF1. */
38 setbits_le32(GPDR0, (1 << 6) | (1 << 8));
39 clrsetbits_le32(GAFR0_L, (3 << 12) | (3 << 16), (1 << 12) | (1 << 16));
45 int board_mmc_init(bd_t *bis)
52 int board_late_init(void)
54 setenv("stdout", "serial");
55 setenv("stderr", "serial");
62 gd->ram_size = PHYS_SDRAM_1_SIZE;
66 void dram_init_banksize(void)
68 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
69 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
73 int board_eth_init(bd_t *bis)
76 #ifdef CONFIG_LAN91C96
77 rc = lan91c96_initialize(0, CONFIG_LAN91C96_BASE);