summaryrefslogtreecommitdiff
path: root/arch/nds32/cpu/n1213/ag101/asm-offsets.c
diff options
context:
space:
mode:
authorrick <rick@andestech.com>2014-01-24 17:14:28 +0800
committerKuan-Yu Kuo <ken.kuoky@gmail.com>2014-01-28 19:23:01 +0800
commitf889cc81c1572f4af0be950fd49bb6b67bc580fb (patch)
treefad5b40a25f7ab382f78aef969a07ea8fa3bfd39 /arch/nds32/cpu/n1213/ag101/asm-offsets.c
parent0876703cf2ee107372b56037d4eeeb7604c56796 (diff)
nds32: add support for leopard and orca board boot flow auto detect
hardware difference between leopard and orca as below: flash setting leoaprd orca bank size 32MB 64MB bus width 32-bits 16-bits Signed-off-by: rick <rick@andestech.com> Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com>
Diffstat (limited to 'arch/nds32/cpu/n1213/ag101/asm-offsets.c')
-rw-r--r--arch/nds32/cpu/n1213/ag101/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/cpu/n1213/ag101/asm-offsets.c b/arch/nds32/cpu/n1213/ag101/asm-offsets.c
index 92ada8ac28..cfe52d1df4 100644
--- a/arch/nds32/cpu/n1213/ag101/asm-offsets.c
+++ b/arch/nds32/cpu/n1213/ag101/asm-offsets.c
@@ -21,6 +21,7 @@ int main(void)
#endif
BLANK();
#ifdef CONFIG_FTAHBC020S
+ OFFSET(FTAHBC020S_SLAVE_BSR_4, ftahbc02s, s_bsr[4]);
OFFSET(FTAHBC020S_SLAVE_BSR_6, ftahbc02s, s_bsr[6]);
OFFSET(FTAHBC020S_CR, ftahbc02s, cr);
#endif