[U-Boot] [PATCH v2 2/8] nds32: add cpu support for nds32 arch
Po-Yu Chuang
ratbert.chuang at gmail.com
Fri Aug 6 07:45:06 CEST 2010
Dear Macpaul Lin,
2010/8/5 Macpaul Lin <macpaul at andestech.com>:
> Add cpu support for nds32 arch.
> Included support of common cpu setting, core n1213, SoC ag101.
>
> Signed-off-by: Macpaul Lin <macpaul at andestech.com>
> ---
> arch/nds32/config.mk | 34 +++
> arch/nds32/cpu/Makefile | 52 ++++
> arch/nds32/cpu/cpu.c | 197 +++++++++++++++
> arch/nds32/cpu/lowlevel_init.S | 159 ++++++++++++
> arch/nds32/cpu/n1213/Makefile | 51 ++++
> arch/nds32/cpu/n1213/ag101/Makefile | 50 ++++
> arch/nds32/cpu/n1213/ag101/cpu.c | 197 +++++++++++++++
> arch/nds32/cpu/n1213/ag101/ftsmc020.c | 51 ++++
> arch/nds32/cpu/n1213/ag101/timer.c | 213 ++++++++++++++++
> arch/nds32/cpu/n1213/lowlevel_init.S | 159 ++++++++++++
> arch/nds32/cpu/n1213/start.S | 447 +++++++++++++++++++++++++++++++++
> arch/nds32/cpu/n1213/u-boot.lds | 68 +++++
> arch/nds32/cpu/start.S | 447 +++++++++++++++++++++++++++++++++
> 13 files changed, 2125 insertions(+), 0 deletions(-)
arch/nds32/cpu/cpu.c is almost identical to arch/nds32/cpu/n1213/ag101/cpu.c.
arch/nds32/cpu/lowlevel_init.S is identical to
arch/nds32/cpu/n1213/lowlevel_init.S.
arch/nds32/cpu/start.S is identical to arch/nds32/cpu/n1213/start.S.
There must be better way to do them.
best regards,
Po-Yu Chuang
More information about the U-Boot
mailing list