common.c (aaf5e0be79e37d5a8509f09852788fa6a82522b2) | common.c (e06f1a9ed7ebff170ba05d2606d079fb36c6a52d) |
---|---|
1/* 2 * This file contains common code that is intended to be used across 3 * boards so that it's not replicated. 4 * 5 * Copyright (C) 2011 Xilinx 6 * 7 * This software is licensed under the terms of the GNU General Public 8 * License version 2, as published by the Free Software Foundation, and --- 101 unchanged lines hidden (view full) --- 110 * xilinx_map_io() - Create memory mappings needed for early I/O. 111 */ 112static void __init xilinx_map_io(void) 113{ 114 iotable_init(io_desc, ARRAY_SIZE(io_desc)); 115} 116 117static const char *xilinx_dt_match[] = { | 1/* 2 * This file contains common code that is intended to be used across 3 * boards so that it's not replicated. 4 * 5 * Copyright (C) 2011 Xilinx 6 * 7 * This software is licensed under the terms of the GNU General Public 8 * License version 2, as published by the Free Software Foundation, and --- 101 unchanged lines hidden (view full) --- 110 * xilinx_map_io() - Create memory mappings needed for early I/O. 111 */ 112static void __init xilinx_map_io(void) 113{ 114 iotable_init(io_desc, ARRAY_SIZE(io_desc)); 115} 116 117static const char *xilinx_dt_match[] = { |
118 "xlnx,zynq-ep107", | 118 "xlnx,zynq-zc702", 119 "xlnx,zynq-7000", |
119 NULL 120}; 121 122MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") 123 .map_io = xilinx_map_io, 124 .init_irq = xilinx_irq_init, 125 .handle_irq = gic_handle_irq, 126 .init_machine = xilinx_init_machine, 127 .timer = &xttcpss_sys_timer, 128 .dt_compat = xilinx_dt_match, 129MACHINE_END | 120 NULL 121}; 122 123MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") 124 .map_io = xilinx_map_io, 125 .init_irq = xilinx_irq_init, 126 .handle_irq = gic_handle_irq, 127 .init_machine = xilinx_init_machine, 128 .timer = &xttcpss_sys_timer, 129 .dt_compat = xilinx_dt_match, 130MACHINE_END |