setup.c (584d98be3b90f00b410288e59eeba871fbf81b86) setup.c (d865bea4dace1d42995a6cf552bc4863842623f4)
1/*
2 * Setup pointers to hardware-dependent routines.
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 1996, 1997, 1998, 2001 by Ralf Baechle

--- 11 unchanged lines hidden (view full) ---

20#include <linux/fb.h>
21#include <linux/ide.h>
22#include <linux/pm.h>
23#include <linux/screen_info.h>
24#include <linux/platform_device.h>
25#include <linux/serial_8250.h>
26
27#include <asm/bootinfo.h>
1/*
2 * Setup pointers to hardware-dependent routines.
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 1996, 1997, 1998, 2001 by Ralf Baechle

--- 11 unchanged lines hidden (view full) ---

20#include <linux/fb.h>
21#include <linux/ide.h>
22#include <linux/pm.h>
23#include <linux/screen_info.h>
24#include <linux/platform_device.h>
25#include <linux/serial_8250.h>
26
27#include <asm/bootinfo.h>
28#include <asm/i8253.h>
28#include <asm/irq.h>
29#include <asm/jazz.h>
30#include <asm/jazzdma.h>
31#include <asm/reboot.h>
32#include <asm/io.h>
33#include <asm/pgtable.h>
34#include <asm/time.h>
35#include <asm/traps.h>

--- 22 unchanged lines hidden (view full) ---

58 }, {
59 .start = 0xc0,
60 .end = 0xdf,
61 .name = "dma2",
62 .flags = IORESOURCE_BUSY
63 }
64};
65
29#include <asm/irq.h>
30#include <asm/jazz.h>
31#include <asm/jazzdma.h>
32#include <asm/reboot.h>
33#include <asm/io.h>
34#include <asm/pgtable.h>
35#include <asm/time.h>
36#include <asm/traps.h>

--- 22 unchanged lines hidden (view full) ---

59 }, {
60 .start = 0xc0,
61 .end = 0xdf,
62 .name = "dma2",
63 .flags = IORESOURCE_BUSY
64 }
65};
66
67void __init plat_time_init(void)
68{
69 setup_pit_timer();
70}
71
66void __init plat_mem_setup(void)
67{
68 int i;
69
70 /* Map 0xe0000000 -> 0x0:800005C0, 0xe0010000 -> 0x1:30000580 */
71 add_wired_entry (0x02000017, 0x03c00017, 0xe0000000, PM_64K);
72 /* Map 0xe2000000 -> 0x0:900005C0, 0xe3010000 -> 0x0:910005C0 */
73 add_wired_entry (0x02400017, 0x02440017, 0xe2000000, PM_16M);

--- 139 unchanged lines hidden ---
72void __init plat_mem_setup(void)
73{
74 int i;
75
76 /* Map 0xe0000000 -> 0x0:800005C0, 0xe0010000 -> 0x1:30000580 */
77 add_wired_entry (0x02000017, 0x03c00017, 0xe0000000, PM_64K);
78 /* Map 0xe2000000 -> 0x0:900005C0, 0xe3010000 -> 0x0:910005C0 */
79 add_wired_entry (0x02400017, 0x02440017, 0xe2000000, PM_16M);

--- 139 unchanged lines hidden ---