]> Git Repo - u-boot.git/blame - arch/arm/mach-kirkwood/cache.c
common: Drop net.h from common header
[u-boot.git] / arch / arm / mach-kirkwood / cache.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
67953027
MW
2/*
3 * Copyright (c) 2012 Michael Walle
4 * Michael Walle <[email protected]>
67953027
MW
5 */
6#include <common.h>
7#include <asm/arch/cpu.h>
90526e9f 8#include <asm/cache.h>
67953027
MW
9
10#define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22)
11
12void l2_cache_disable()
13{
14 u32 ctrl;
15
16 ctrl = readfr_extra_feature_reg();
17 ctrl &= ~FEROCEON_EXTRA_FEATURE_L2C_EN;
18 writefr_extra_feature_reg(ctrl);
19}
This page took 0.233797 seconds and 4 git commands to generate.