| // SPDX-License-Identifier: GPL-2.0+ |
| * iPAQ h2200 board configuration |
| * Copyright (C) 2012 Lukasz Dalek <luk0104@gmail.com> |
| #include <asm/arch/pxa.h> |
| #include <asm/arch/pxa-regs.h> |
| #include <asm/mach-types.h> |
| int board_eth_init(bd_t *bis) |
| void reset_cpu(ulong ignore) |
| /* Enable VLIO interface on Hamcop */ |
| /* Reset board (cold reset) */ |
| /* We have RAM, disable cache */ |
| gd->bd->bi_arch_number = MACH_TYPE_H2200; |
| /* adress of boot parameters */ |
| gd->bd->bi_boot_params = 0xa0000100; |
| /* Let host see that device is disconnected */ |
| * Everything except MSC0 was already set up by |
| * This setting enables access to companion chip. |
| clrsetbits_le32(MSC0, 0xffffffff, CONFIG_SYS_MSC0_VAL); |
| gd->ram_size = CONFIG_SYS_SDRAM_SIZE; |
| #ifdef CONFIG_USB_GADGET_PXA2XX |
| int board_usb_init(int index, enum usb_init_type init) |
| int board_usb_cleanup(int index, enum usb_init_type init) |