diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-03-26 22:12:38 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-03-26 15:33:41 -0400 |
commit | c34002c102880bfac5b449b41e5313dcda186db8 (patch) | |
tree | b868da85842d52df7f0ceeef243b7dae7671f645 /arch/arm/mach-iop32x/iq31244.c | |
parent | 97c46048ce73c27fd2734299f07a8c06c8156a2e (diff) |
iop: unconditionally initialize the ATU on platforms known to be 'hosts'
Platforms like iq80321 and iq80331 which may be host-bus-adapters
require 'iop3xx_init_atu=y' to be specified on the kernel command line.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/arm/mach-iop32x/iq31244.c')
-rw-r--r-- | arch/arm/mach-iop32x/iq31244.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c index 98cfa1cd6bdb..4a89823bcebb 100644 --- a/arch/arm/mach-iop32x/iq31244.c +++ b/arch/arm/mach-iop32x/iq31244.c | |||
@@ -178,10 +178,9 @@ static struct hw_pci iq31244_pci __initdata = { | |||
178 | 178 | ||
179 | static int __init iq31244_pci_init(void) | 179 | static int __init iq31244_pci_init(void) |
180 | { | 180 | { |
181 | if (is_ep80219()) { | 181 | if (is_ep80219()) |
182 | if (iop3xx_get_init_atu() == IOP3XX_INIT_ATU_ENABLE) | 182 | pci_common_init(&ep80219_pci); |
183 | pci_common_init(&ep80219_pci); | 183 | else if (machine_is_iq31244()) { |
184 | } else if (machine_is_iq31244()) { | ||
185 | if (is_80219()) { | 184 | if (is_80219()) { |
186 | printk("note: iq31244 board type has been selected\n"); | 185 | printk("note: iq31244 board type has been selected\n"); |
187 | printk("note: to select ep80219 operation:\n"); | 186 | printk("note: to select ep80219 operation:\n"); |
@@ -190,9 +189,7 @@ static int __init iq31244_pci_init(void) | |||
190 | printk("\t2/ update boot loader to pass" | 189 | printk("\t2/ update boot loader to pass" |
191 | " the ep80219 id: %d\n", MACH_TYPE_EP80219); | 190 | " the ep80219 id: %d\n", MACH_TYPE_EP80219); |
192 | } | 191 | } |
193 | 192 | pci_common_init(&iq31244_pci); | |
194 | if (iop3xx_get_init_atu() == IOP3XX_INIT_ATU_ENABLE) | ||
195 | pci_common_init(&iq31244_pci); | ||
196 | } | 193 | } |
197 | 194 | ||
198 | return 0; | 195 | return 0; |