aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-nomadik/cpu-8815.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-nomadik/cpu-8815.c b/arch/arm/mach-nomadik/cpu-8815.c
index 0f245bcc6b7e..9116ca476d7c 100644
--- a/arch/arm/mach-nomadik/cpu-8815.c
+++ b/arch/arm/mach-nomadik/cpu-8815.c
@@ -143,23 +143,16 @@ static int __init cpu8815_mmcsd_init(void)
143} 143}
144device_initcall(cpu8815_mmcsd_init); 144device_initcall(cpu8815_mmcsd_init);
145 145
146static void __init cpu8815_init_of(void)
147{
148#ifdef CONFIG_CACHE_L2X0
149 /* At full speed latency must be >=2, so 0x249 in low bits */
150 l2x0_of_init(0x00700249, 0xfe0fefff);
151#endif
152 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
153}
154
155static const char * cpu8815_board_compat[] = { 146static const char * cpu8815_board_compat[] = {
156 "calaosystems,usb-s8815", 147 "calaosystems,usb-s8815",
157 NULL, 148 NULL,
158}; 149};
159 150
160DT_MACHINE_START(NOMADIK_DT, "Nomadik STn8815") 151DT_MACHINE_START(NOMADIK_DT, "Nomadik STn8815")
152 /* At full speed latency must be >=2, so 0x249 in low bits */
153 .l2c_aux_val = 0x00700249,
154 .l2c_aux_mask = 0xfe0fefff,
161 .map_io = cpu8815_map_io, 155 .map_io = cpu8815_map_io,
162 .init_machine = cpu8815_init_of,
163 .restart = cpu8815_restart, 156 .restart = cpu8815_restart,
164 .dt_compat = cpu8815_board_compat, 157 .dt_compat = cpu8815_board_compat,
165MACHINE_END 158MACHINE_END