1 From 72578a46543821c5b9544842e45fcbed0c1b7eb8 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Tue, 3 Dec 2013 13:35:12 +0100
4 Subject: [PATCH 3/8] MIPS: BCM63XX: remove !RUNTIME_DETECT from reset code
7 arch/mips/bcm63xx/reset.c | 60 -----------------------------------------------
8 1 file changed, 60 deletions(-)
10 --- a/arch/mips/bcm63xx/reset.c
11 +++ b/arch/mips/bcm63xx/reset.c
13 #define BCM6368_RESET_PCIE 0
14 #define BCM6368_RESET_PCIE_EXT 0
16 -#ifdef BCMCPU_RUNTIME_DETECT
21 @@ -188,64 +186,6 @@ static int __init bcm63xx_reset_bits_ini
27 -#ifdef CONFIG_BCM63XX_CPU_3368
28 -static const u32 bcm63xx_reset_bits[] = {
29 - __GEN_RESET_BITS_TABLE(3368)
31 -#define reset_reg PERF_SOFTRESET_6358_REG
34 -#ifdef CONFIG_BCM63XX_CPU_6328
35 -static const u32 bcm63xx_reset_bits[] = {
36 - __GEN_RESET_BITS_TABLE(6328)
38 -#define reset_reg PERF_SOFTRESET_6328_REG
41 -#ifdef CONFIG_BCM63XX_CPU_6338
42 -static const u32 bcm63xx_reset_bits[] = {
43 - __GEN_RESET_BITS_TABLE(6338)
45 -#define reset_reg PERF_SOFTRESET_REG
48 -#ifdef CONFIG_BCM63XX_CPU_6345
49 -static const u32 bcm63xx_reset_bits[] = { };
53 -#ifdef CONFIG_BCM63XX_CPU_6348
54 -static const u32 bcm63xx_reset_bits[] = {
55 - __GEN_RESET_BITS_TABLE(6348)
57 -#define reset_reg PERF_SOFTRESET_REG
60 -#ifdef CONFIG_BCM63XX_CPU_6358
61 -static const u32 bcm63xx_reset_bits[] = {
62 - __GEN_RESET_BITS_TABLE(6358)
64 -#define reset_reg PERF_SOFTRESET_6358_REG
67 -#ifdef CONFIG_BCM63XX_CPU_6362
68 -static const u32 bcm63xx_reset_bits[] = {
69 - __GEN_RESET_BITS_TABLE(6362)
71 -#define reset_reg PERF_SOFTRESET_6362_REG
74 -#ifdef CONFIG_BCM63XX_CPU_6368
75 -static const u32 bcm63xx_reset_bits[] = {
76 - __GEN_RESET_BITS_TABLE(6368)
78 -#define reset_reg PERF_SOFTRESET_6368_REG
81 -static int __init bcm63xx_reset_bits_init(void) { return 0; }
84 static DEFINE_SPINLOCK(reset_mutex);