blob: f14b6c7d255b4e3f34598980c13aceea2fa08cd0 [file] [log] [blame]
Marc Gonzalezd6de5b02015-12-15 10:41:13 +01001#include <asm/mach/arch.h>
2#include <asm/hardware/cache-l2x0.h>
3#include "smc.h"
4
Marc Gonzalezd6de5b02015-12-15 10:41:13 +01005static void tango_l2c_write(unsigned long val, unsigned int reg)
6{
7 if (reg == L2X0_CTRL)
8 tango_set_l2_control(val);
9}
10
11static const char *const tango_dt_compat[] = { "sigma,tango4", NULL };
12
13DT_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,
17MACHINE_END