diff options
author | Paul Burton <paul.burton@mips.com> | 2019-07-22 21:59:43 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-07-23 14:33:23 -0700 |
commit | f9065b54d437c4660e3d974ad9ce5188c068cd76 (patch) | |
tree | 32622164fa84225b50db05fcea98c830d431d7b1 /arch/mips/mm | |
parent | f23478f6ea2ed6c8dccc6f7b902c2362ebc197ef (diff) | |
download | linux-stable-f9065b54d437c4660e3d974ad9ce5188c068cd76.tar.gz linux-stable-f9065b54d437c4660e3d974ad9ce5188c068cd76.tar.bz2 linux-stable-f9065b54d437c4660e3d974ad9ce5188c068cd76.zip |
MIPS: Remove unused R4300 CPU support
Our R4300 CPU support can only be included if a system selects
CONFIG_SYS_HAS_CPU_R4300. No system does, making all R4300-related CPU
support dead code. Remove it.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/tlbex.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 5166e38cd1c6..07d9aa4f7491 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c @@ -1134,7 +1134,6 @@ static void probe_pcache(void) case CPU_R4400PC: case CPU_R4400SC: case CPU_R4400MC: - case CPU_R4300: icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); c->icache.linesz = 16 << ((config & CONF_IB) >> 5); c->icache.ways = 1; diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index efffeae7f789..35471a2a3528 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -545,7 +545,6 @@ void build_tlb_write_entry(u32 **p, struct uasm_label **l, tlbw(p); break; - case CPU_R4300: case CPU_5KC: case CPU_TX49XX: case CPU_PR4450: |