summaryrefslogtreecommitdiff
path: root/arch/nds32
Commit message (Collapse)AuthorAgeLines
* nds32/ag101: clean up for SoC related codeMacpaul Lin2011-11-23-10/+6
| | | | | | | | Remove unneccessary codes. 1. Clean up for cpu related code. 2. Clean up for timer related code. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32/lib: add ide generic supportMacpaul Lin2011-11-18-0/+5
| | | | | | Add ide generic support. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32: enhance io.h for compatibility with periphalsMacpaul Lin2011-11-18-0/+18
| | | | | | | Enhance io.h for periphals origin design on x86 systems. For example, pci, ide, etc. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* adp-ag101p: Add SoC and board support of ag101pMacpaul Lin2011-11-10-0/+14
| | | | | | Add softcore SoC ag101p and the board adp-ag101p support. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32: fix data section of linker scriptMacpaul Lin2011-11-09-1/+1
| | | | | | | | Make linker script handles .data.rel sections. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Tested-by: Macpaul Lin <macpaul@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
* nds32: asm/io.h: add __iormb __iowmb and inline io supportMacpaul Lin2011-11-01-20/+52
| | | | | | | | | 1. This patch add required __iormb and __iowmb to io.h. This also fix some misbehavior to periphal drivers. This io.h has been fixed with referencing arm/include/asm/io.h. 2. This patch replaced macro writeb and readb into inline function. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32: cache: define ARCH_DMA_MINALIGN for DMA buffer alignmentMacpaul Lin2011-11-01-0/+11
| | | | | | Add ARCH_DMA_MINALIGN definition to asm/cache.h Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32: Use getenv_ulong() in place of getenv(), strtoulMacpaul Lin2011-11-01-10/+2
| | | | | | This changes the board code to use the new getenv_ulong() function. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32/lib: add generic funcs in NDS32 libMacpaul Lin2011-10-22-0/+890
| | | | | | | Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32/ag101: cpu and init funcs of SoC ag101Macpaul Lin2011-10-22-0/+895
| | | | | | | | | | | | | 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>
* nds32/core N1213: NDS32 N12 core family N1213Macpaul Lin2011-10-22-0/+649
| | | | | | | | | | | | | Add N1213 cpu core (N12 Core family) support for NDS32 arch. This patch includes start.S for the initialize procedure of N1213. Start procedure: start.S will start up the N1213 CPU core at first, then jump to SoC dependent "lowlevel_init.S" and "watchdog.S" to configure peripheral devices. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
* nds32: add header files support for nds32Macpaul Lin2011-10-22-0/+1450
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin <macpaul@andestech.com>