nds32/ag101: cpu and init funcs of SoC ag101
authorMacpaul Lin <macpaul@andestech.com>
Tue, 11 Oct 2011 22:33:18 +0000 (22:33 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 22:52:51 +0000 (00:52 +0200)
commit445a886d7ac7bdd5746a8bb18ba033242c3e0fed
tree45996b845a8c6c1f0f1fb84ac90d6f9de5a1ad90
parent37e5708afa9527d21b37bce72f637b9aed31c930
nds32/ag101: cpu and init funcs of SoC ag101

SoC ag101 is the first chip using NDS32 N1213 cpu core.
Add header file of device offset support for SoC ag101.
Add main function of SoC ag101 based on NDS32 n1213 core.
Add lowlevel_init.S and other periphal related code.

This version of lowlevel_init.S also replace hardcode value
by MARCO defines from the GPL version andesboot for better
code quality.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
arch/nds32/cpu/n1213/ag101/Makefile [new file with mode: 0644]
arch/nds32/cpu/n1213/ag101/asm-offsets.c [new file with mode: 0644]
arch/nds32/cpu/n1213/ag101/cpu.c [new file with mode: 0644]
arch/nds32/cpu/n1213/ag101/lowlevel_init.S [new file with mode: 0644]
arch/nds32/cpu/n1213/ag101/timer.c [new file with mode: 0644]
arch/nds32/cpu/n1213/ag101/watchdog.S [new file with mode: 0644]
arch/nds32/include/asm/arch-ag101/ag101.h [new file with mode: 0644]