mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
56f86e39e8
Move arch/arm/cpu/arm926ejs/kirkwood/* -> arch/arm/mach-kirkwood/* Note: Perhaps, can we merge arch/arm/mach-kirkwood and arch/arm/mvebu-common into arch/arm/mach-mvebu, like Linux? Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Stefan Roese <sr@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
19 lines
364 B
C
19 lines
364 B
C
/*
|
|
* Copyright (c) 2012 Michael Walle
|
|
* Michael Walle <michael@walle.cc>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#include <common.h>
|
|
#include <asm/arch/cpu.h>
|
|
|
|
#define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22)
|
|
|
|
void l2_cache_disable()
|
|
{
|
|
u32 ctrl;
|
|
|
|
ctrl = readfr_extra_feature_reg();
|
|
ctrl &= ~FEROCEON_EXTRA_FEATURE_L2C_EN;
|
|
writefr_extra_feature_reg(ctrl);
|
|
}
|