2 * iPAQ h2200 board configuration
4 * Copyright (C) 2012 Lukasz Dalek <luk0104@gmail.com>
6 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/pxa.h>
11 #include <asm/arch/pxa-regs.h>
15 DECLARE_GLOBAL_DATA_PTR;
17 int board_eth_init(bd_t *bis)
19 usb_eth_initialize(bis);
23 void reset_cpu(ulong ignore)
25 /* Enable VLIO interface on Hamcop */
28 /* Reset board (cold reset) */
34 /* We have RAM, disable cache */
38 gd->bd->bi_arch_number = MACH_TYPE_H2200;
40 /* adress of boot parameters */
41 gd->bd->bi_boot_params = 0xa0000100;
43 /* Let host see that device is disconnected */
53 * Everything except MSC0 was already set up by
54 * 1st stage bootloader.
56 * This setting enables access to companion chip.
58 clrsetbits_le32(MSC0, 0xffffffff, CONFIG_SYS_MSC0_VAL);
59 gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
63 #ifdef CONFIG_USB_GADGET_PXA2XX
64 int board_usb_init(int index, enum usb_init_type init)
69 int board_usb_cleanup(int index, enum usb_init_type init)