summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rdc/files/arch/i386')
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/Makefile2
-rw-r--r--target/linux/rdc/files/arch/i386/mach-rdc/setup.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/Makefile b/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
index 5961bc7..07a9203 100644
--- a/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/Makefile
@@ -1,5 +1,5 @@
#
# Makefile for the RDC321x specific parts of the kernel
#
-obj-$(CONFIG_X86_RDC) := gpio.o platform.o wdt.o
+obj-$(CONFIG_X86_RDC) := gpio.o platform.o wdt.o setup.o
diff --git a/target/linux/rdc/files/arch/i386/mach-rdc/setup.c b/target/linux/rdc/files/arch/i386/mach-rdc/setup.c
new file mode 100644
index 0000000..ad206c3
--- /dev/null
+++ b/target/linux/rdc/files/arch/i386/mach-rdc/setup.c
@@ -0,0 +1,14 @@
+/*
+ * Machine specific setup for generic
+ */
+
+#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <asm/arch_hooks.h>
+#include <asm/io.h>
+#include <asm/setup.h>
+
+char * __init machine_specific_memory_setup(void)
+{
+ return "RDC R-321x";
+}