summaryrefslogtreecommitdiff
path: root/target/nds32/kernel
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-09 12:48:08 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-30 03:44:10 +0200
commit7ed4d2a409cb24e7beef850c6b90e47f0f6b71d2 (patch)
treebc1ebdfaa9cafaab8c30fa915ff98f51a5509eee /target/nds32/kernel
parentc5990c364e54fae1b1d0da5f88d3cf7c9c0ba782 (diff)
add support for nds32 architecture
Verified on a FPGA board sponsored by Andes Technology. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/nds32/kernel')
-rw-r--r--target/nds32/kernel/andes-ag101p5
-rw-r--r--target/nds32/kernel/generic-nds322
2 files changed, 7 insertions, 0 deletions
diff --git a/target/nds32/kernel/andes-ag101p b/target/nds32/kernel/andes-ag101p
new file mode 100644
index 000000000..2f9a5e3c8
--- /dev/null
+++ b/target/nds32/kernel/andes-ag101p
@@ -0,0 +1,5 @@
+CONFIG_NDS32=y
+CONFIG_PLATFORM_AHBDMA=y
+CONFIG_PLATFORM_APBDMA=y
+CONFIG_UART_CLK=14745600
+CONFIG_DEBUG_USER=y
diff --git a/target/nds32/kernel/generic-nds32 b/target/nds32/kernel/generic-nds32
new file mode 100644
index 000000000..3d59624f7
--- /dev/null
+++ b/target/nds32/kernel/generic-nds32
@@ -0,0 +1,2 @@
+CONFIG_NDS32=y
+CONFIG_EARLY_PRINTK=y