[lantiq] cleanup basefiles
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.6 / 0101-MIPS-lantiq-bootsel-bits-are-wrong.patch
1 From 50b5073dd266721a690323519fb906a56daa09d7 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 1 Nov 2012 20:39:43 +0100
4 Subject: [PATCH 101/113] MIPS: lantiq: bootsel bits are wrong
5
6 ---
7 arch/mips/lantiq/xway/reset.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c
11 index 22c55f7..a89d1a3 100644
12 --- a/arch/mips/lantiq/xway/reset.c
13 +++ b/arch/mips/lantiq/xway/reset.c
14 @@ -34,8 +34,8 @@
15 /* reset cause */
16 #define RCU_STAT_SHIFT 26
17 /* boot selection */
18 -#define RCU_BOOT_SEL_SHIFT 26
19 -#define RCU_BOOT_SEL_MASK 0x7
20 +#define RCU_BOOT_SEL_SHIFT 17
21 +#define RCU_BOOT_SEL_MASK 0xf
22
23 /* remapped base addr of the reset control unit */
24 static void __iomem *ltq_rcu_membase;
25 --
26 1.7.10.4
27