io.c (ecf0aa5317b0ad6bb015128a5b763c954fd58708) | io.c (c73b9099da4fb5703abaa804a0377850eea66cb5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/arch/arm/mach-omap1/io.c 4 * 5 * OMAP1 I/O mapping code 6 */ 7 8#include <linux/module.h> 9#include <linux/kernel.h> 10#include <linux/init.h> 11#include <linux/io.h> 12#include <linux/omap-dma.h> 13 14#include <asm/tlb.h> 15#include <asm/mach/map.h> 16 17#include "tc.h" | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/arch/arm/mach-omap1/io.c 4 * 5 * OMAP1 I/O mapping code 6 */ 7 8#include <linux/module.h> 9#include <linux/kernel.h> 10#include <linux/init.h> 11#include <linux/io.h> 12#include <linux/omap-dma.h> 13 14#include <asm/tlb.h> 15#include <asm/mach/map.h> 16 17#include "tc.h" |
18#include "mux.h" | |
19#include "iomap.h" 20#include "common.h" | 18#include "iomap.h" 19#include "common.h" |
21#include "clock.h" | |
22 23/* 24 * The machine specific code may provide the extra mapping besides the 25 * default mapping provided here. 26 */ 27static struct map_desc omap_io_desc[] __initdata = { 28 { 29 .virtual = OMAP1_IO_VIRT, --- 90 unchanged lines hidden (view full) --- 120{ 121 omap_check_revision(); 122 123 /* REVISIT: Refer to OMAP5910 Errata, Advisory SYS_1: "Timeout Abort 124 * on a Posted Write in the TIPB Bridge". 125 */ 126 omap_writew(0x0, MPU_PUBLIC_TIPB_CNTL); 127 omap_writew(0x0, MPU_PRIVATE_TIPB_CNTL); | 20 21/* 22 * The machine specific code may provide the extra mapping besides the 23 * default mapping provided here. 24 */ 25static struct map_desc omap_io_desc[] __initdata = { 26 { 27 .virtual = OMAP1_IO_VIRT, --- 90 unchanged lines hidden (view full) --- 118{ 119 omap_check_revision(); 120 121 /* REVISIT: Refer to OMAP5910 Errata, Advisory SYS_1: "Timeout Abort 122 * on a Posted Write in the TIPB Bridge". 123 */ 124 omap_writew(0x0, MPU_PUBLIC_TIPB_CNTL); 125 omap_writew(0x0, MPU_PRIVATE_TIPB_CNTL); |
128 129 /* Must init clocks early to assure that timer interrupt works 130 */ 131 omap1_clk_init(); 132 omap1_mux_init(); | |
133} 134 135void __init omap1_init_late(void) 136{ 137 omap_serial_wakeup_init(); 138} 139 140/* --- 38 unchanged lines hidden --- | 126} 127 128void __init omap1_init_late(void) 129{ 130 omap_serial_wakeup_init(); 131} 132 133/* --- 38 unchanged lines hidden --- |