Merge remote-tracking branches 'asoc/fix/amd', 'asoc/fix/arizona', 'asoc/fix/dpcm...
[sfrench/cifs-2.6.git] / arch / arm / mach-tango / setup.c
1 #include <asm/mach/arch.h>
2 #include <asm/hardware/cache-l2x0.h>
3 #include "smc.h"
4
5 static void tango_l2c_write(unsigned long val, unsigned int reg)
6 {
7         if (reg == L2X0_CTRL)
8                 tango_set_l2_control(val);
9 }
10
11 static const char *const tango_dt_compat[] = { "sigma,tango4", NULL };
12
13 DT_MACHINE_START(TANGO_DT, "Sigma Tango DT")
14         .dt_compat      = tango_dt_compat,
15         .l2c_aux_mask   = ~0,
16         .l2c_write_sec  = tango_l2c_write,
17 MACHINE_END