@@ -35,17 +35,17 @@
enum { R8A7790_CLST_CA15, R8A7790_CLST_CA7, R8A7790_CLST_NR };
static struct {
- unsigned int cabar;
+ unsigned int bar;
unsigned int rescnt;
unsigned int rescnt_magic;
} r8a7790_clst[R8A7790_CLST_NR] = {
[R8A7790_CLST_CA15] = {
- .cabar = CA15BAR,
+ .bar = CA15BAR,
.rescnt = CA15RESCNT,
.rescnt_magic = 0xa5a50000,
},
[R8A7790_CLST_CA7] = {
- .cabar = CA7BAR,
+ .bar = CA7BAR,
.rescnt = CA7RESCNT,
.rescnt_magic = 0x5a5a0000,
},
@@ -63,8 +63,8 @@ static void r8a7790_deassert_reset(unsigned int cpu)
/* setup reset vectors */
p = ioremap_nocache(RST, 0x63);
bar = (MERAM >> 8) & 0xfffffc00;
- writel_relaxed(bar, p + r8a7790_clst[clst_id].cabar);
- writel_relaxed(bar | 0x10, p + r8a7790_clst[clst_id].cabar);
+ writel_relaxed(bar, p + r8a7790_clst[clst_id].bar);
+ writel_relaxed(bar | 0x10, p + r8a7790_clst[clst_id].bar);
/* enable per-core clocks */
mask = BIT(3 - r8a7790_cpu_id(cpu));
I don't have strong opinion on this one, either Leave it to you. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> --- arch/arm/mach-shmobile/smp-r8a7790.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)