nds32: add support for leopard and orca board boot flow auto detect
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
Signed-off-by rick <[email protected]>
--- 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
@@ -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