sh: magicpanelr2 and dreamcast can use the generic I/O base.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 28 Sep 2009 06:22:10 +0000 (15:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Sep 2009 06:22:10 +0000 (15:22 +0900)
There is now no need for the magicpanelr2 and dreamcast platforms to set
their own I/O port bas values, given that the generic machvec code now
sets this to P2SEG for everyone.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-magicpanelr2.c
arch/sh/boards/mach-dreamcast/setup.c

index 0a37c8bfc959e0a8a3e34ea7d8d4d60c7738b204..99ffc5f1c0dd3900f3aa8a24337dd1a65b8e90ce 100644 (file)
@@ -205,8 +205,6 @@ static void __init setup_port_multiplexing(void)
 
 static void __init mpr2_setup(char **cmdline_p)
 {
-       __set_io_port_base(0xa0000000);
-
        /* set Pin Select Register A:
         * /PCC_CD1, /PCC_CD2,  PCC_BVD1, PCC_BVD2,
         * /IOIS16,  IRQ4,      IRQ5,     USB1d_SUSPEND
index ebe99227d4e6674704b96e4c03c7e699401b6194..a4b7402d6176245b0f0387bf983d0db0d6f9dafa 100644 (file)
@@ -42,8 +42,6 @@ static void __init dreamcast_setup(char **cmdline_p)
        /* Acknowledge any previous events */
        /* XXX */
 
-       __set_io_port_base(0xa0000000);
-
        /* Assign all virtual IRQs to the System ASIC int. handler */
        for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++)
                set_irq_chip_and_handler(i, &systemasic_int,