void __init rb1xx_generic_setup(void) { if (adm5120_package_bga()) adm5120_pci_set_irq_map(ARRAY_SIZE(rb1xx_pci_irqs), rb1xx_pci_irqs); adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_add_device_gpio_buttons(ARRAY_SIZE(rb1xx_gpio_buttons), rb1xx_gpio_buttons); rb1xx_add_device_flash(); rb1xx_mac_setup(); }
void __init rb1xx_generic_setup(void) { if (adm5120_package_bga()) adm5120_pci_set_irq_map(ARRAY_SIZE(rb1xx_pci_irqs), rb1xx_pci_irqs); adm5120_add_device_uart(0); adm5120_add_device_uart(1); adm5120_register_gpio_buttons(-1, RB1XX_KEYS_POLL_INTERVAL, ARRAY_SIZE(rb1xx_gpio_buttons), rb1xx_gpio_buttons); rb1xx_add_device_flash(); rb1xx_mac_setup(); }
void __init plat_mem_setup(void) { adm5120_soc_init(); adm5120_mem_init(); sprintf(adm5120_sys_type, "ADM%04X%s rev %u, running at %lu.%03lu MHz", adm5120_product_code, adm5120_package_bga() ? "" : "P", adm5120_revision, (adm5120_speed / 1000000), (adm5120_speed / 1000) % 1000); adm5120_report(); _machine_restart = adm5120_restart; _machine_halt = adm5120_halt; pm_power_off = adm5120_halt; set_io_port_base(KSEG1); }