Commit fe1dbfd3 authored by Paul Mundt's avatar Paul Mundt

sh: magicpanelr2 and dreamcast can use the generic I/O base.

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 421f7a5d
...@@ -205,8 +205,6 @@ static void __init setup_port_multiplexing(void) ...@@ -205,8 +205,6 @@ static void __init setup_port_multiplexing(void)
static void __init mpr2_setup(char **cmdline_p) static void __init mpr2_setup(char **cmdline_p)
{ {
__set_io_port_base(0xa0000000);
/* set Pin Select Register A: /* set Pin Select Register A:
* /PCC_CD1, /PCC_CD2, PCC_BVD1, PCC_BVD2, * /PCC_CD1, /PCC_CD2, PCC_BVD1, PCC_BVD2,
* /IOIS16, IRQ4, IRQ5, USB1d_SUSPEND * /IOIS16, IRQ4, IRQ5, USB1d_SUSPEND
......
...@@ -42,8 +42,6 @@ static void __init dreamcast_setup(char **cmdline_p) ...@@ -42,8 +42,6 @@ static void __init dreamcast_setup(char **cmdline_p)
/* Acknowledge any previous events */ /* Acknowledge any previous events */
/* XXX */ /* XXX */
__set_io_port_base(0xa0000000);
/* Assign all virtual IRQs to the System ASIC int. handler */ /* Assign all virtual IRQs to the System ASIC int. handler */
for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++) for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++)
set_irq_chip_and_handler(i, &systemasic_int, set_irq_chip_and_handler(i, &systemasic_int,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment