|
@@ -52,8 +52,6 @@ void __init plat_mem_setup(void)
|
|
|
/* this is faster than wasting cycles trying to approximate it */
|
|
|
preset_lpj = (est_freq >> 1) / HZ;
|
|
|
|
|
|
- board_setup(); /* board specific setup */
|
|
|
-
|
|
|
if (au1xxx_cpu_needs_config_od())
|
|
|
/* Various early Au1xx0 errata corrected by this */
|
|
|
set_c0_config(1 << 19); /* Set Config[OD] */
|
|
@@ -61,6 +59,8 @@ void __init plat_mem_setup(void)
|
|
|
/* Clear to obtain best system bus performance */
|
|
|
clear_c0_config(1 << 19); /* Clear Config[OD] */
|
|
|
|
|
|
+ board_setup(); /* board specific setup */
|
|
|
+
|
|
|
/* IO/MEM resources. */
|
|
|
set_io_port_base(0);
|
|
|
ioport_resource.start = IOPORT_RESOURCE_START;
|