b7fb4e7b15f84212cadb7100eef649018b935c46
[oweals/openwrt.git] /
1 From 50450fdcc39c3863351d52c290e77b664df33ed6 Mon Sep 17 00:00:00 2001
2 From: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
3 Date: Wed, 13 Jul 2016 15:49:22 +0530
4 Subject: [PATCH 78/93] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET
5
6 ~QIXIS_LBMAP_MASK is being used in code. So define inverse value
7 LBMAP_MASK.
8
9 Aslo, update QIXIS_RST_CTL_RESET value to keep RST_CTL[REQ_MOD]
10 as 0b11 i.e. PORESET.
11
12 Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
13 ---
14  include/configs/ls1012aqds.h |    4 ++--
15  1 file changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
18 index c06cfbd..418bd54 100644
19 --- a/include/configs/ls1012aqds.h
20 +++ b/include/configs/ls1012aqds.h
21 @@ -89,11 +89,11 @@
22  #define CONFIG_SYS_I2C_FPGA_ADDR       0x66
23  #define QIXIS_LBMAP_BRDCFG_REG         0x04
24  #define QIXIS_LBMAP_SWITCH             6
25 -#define QIXIS_LBMAP_MASK               0xf7
26 +#define QIXIS_LBMAP_MASK               0x08
27  #define QIXIS_LBMAP_SHIFT              0
28  #define QIXIS_LBMAP_DFLTBANK           0x00
29  #define QIXIS_LBMAP_ALTBANK            0x08
30 -#define QIXIS_RST_CTL_RESET            0x41
31 +#define QIXIS_RST_CTL_RESET            0x31
32  #define QIXIS_RCFG_CTL_RECONFIG_IDLE   0x20
33  #define QIXIS_RCFG_CTL_RECONFIG_START  0x21
34  #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE  0x08
35 -- 
36 1.7.9.5
37