Skip to contentSkip to conversation

nds32: add support for leopard and orca board boot flow auto detect

PATCH New Andes 1 participant 1 message Jan 24, 2014 Arm/actions semi architecture

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH 1/1 nds32: add support for leopard and orca board boot flow auto detect

From: rick <[email protected]>

hardware difference between leopard and orca as below:

flash setting     leoaprd     orca
bank size         32MB        64MB
bus width         32-bits     16-bits
---
 arch/nds32/cpu/n1213/ag101/asm-offsets.c   |    1 +
 arch/nds32/cpu/n1213/ag101/lowlevel_init.S |   88 ++++++++++++++++++++++++++-
 2 files changed, 85 insertions(+), 4 deletions(-)
arch/nds32/cpu/n1213/ag101/asm-offsets.c +1 -0
index 92ada8a..cfe52d1 100644
@@ -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
arch/nds32/cpu/n1213/ag101/lowlevel_init.S +84 -4

123 lines not on this page · raw message

Signature · 1 line
1.7.6