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>
14 #include <asm/mach-types.h>
16 DECLARE_GLOBAL_DATA_PTR;
18 int board_eth_init(bd_t *bis)
20 usb_eth_initialize(bis);
24 void reset_cpu(ulong ignore)
26 /* Enable VLIO interface on Hamcop */
29 /* Reset board (cold reset) */
35 /* We have RAM, disable cache */
39 gd->bd->bi_arch_number = MACH_TYPE_H2200;
41 /* adress of boot parameters */
42 gd->bd->bi_boot_params = 0xa0000100;
44 /* Let host see that device is disconnected */
54 * Everything except MSC0 was already set up by
55 * 1st stage bootloader.
57 * This setting enables access to companion chip.
59 clrsetbits_le32(MSC0, 0xffffffff, CONFIG_SYS_MSC0_VAL);
60 gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
64 #ifdef CONFIG_USB_GADGET_PXA2XX
65 int board_usb_init(int index, enum usb_init_type init)
70 int board_usb_cleanup(int index, enum usb_init_type init)