summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.serial6
-rw-r--r--target/linux/patches/or1k-fixes-4.9/more-ram.patch12
2 files changed, 15 insertions, 3 deletions
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 4e7dae56d..9252b8fa7 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -83,7 +83,7 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
|| ADK_TARGET_SYSTEM_QEMU_NIOS2 \
|| ADK_TARGET_SYSTEM_QEMU_OR1K \
- || ADK_TARGET_SYSTEM_OR1K_SIM
+ || ADK_TARGET_SYSTEM_SIM_OR1K
select ADK_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
select ADK_KERNEL_SERIAL_8250_CONSOLE
select ADK_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
@@ -102,7 +102,7 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_QEMU_X86 \
|| ADK_TARGET_SYSTEM_QEMU_X86_64 \
|| ADK_TARGET_SYSTEM_QEMU_XTENSA \
- || ADK_TARGET_SYSTEM_OR1K_SIM \
+ || ADK_TARGET_SYSTEM_SIM_OR1K \
|| ADK_TARGET_SYSTEM_IBM_X40 \
|| ADK_TARGET_SYSTEM_GENERIC_NDS32 \
|| ADK_TARGET_SYSTEM_GENERIC_X86 \
@@ -125,7 +125,7 @@ config ADK_KERNEL_SERIAL_8250
default y if ADK_TARGET_SYSTEM_QEMU_X86
default y if ADK_TARGET_SYSTEM_QEMU_X86_64
default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
- default y if ADK_TARGET_SYSTEM_OR1K_SIM
+ default y if ADK_TARGET_SYSTEM_SIM_OR1K
default y if ADK_TARGET_SYSTEM_IBM_X40
default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
default y if ADK_TARGET_SYSTEM_GENERIC_X86
diff --git a/target/linux/patches/or1k-fixes-4.9/more-ram.patch b/target/linux/patches/or1k-fixes-4.9/more-ram.patch
new file mode 100644
index 000000000..943c881e4
--- /dev/null
+++ b/target/linux/patches/or1k-fixes-4.9/more-ram.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-or1k-fixes-4.9.orig/arch/openrisc/boot/dts/or1ksim.dts linux-or1k-fixes-4.9/arch/openrisc/boot/dts/or1ksim.dts
+--- linux-or1k-fixes-4.9.orig/arch/openrisc/boot/dts/or1ksim.dts 2016-11-17 21:49:29.000000000 +0100
++++ linux-or1k-fixes-4.9/arch/openrisc/boot/dts/or1ksim.dts 2016-11-21 14:36:14.674136327 +0100
+@@ -11,7 +11,7 @@
+
+ memory@0 {
+ device_type = "memory";
+- reg = <0x00000000 0x02000000>;
++ reg = <0x00000000 0x04000000>;
+ };
+
+ cpus {