summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-11-19 09:08:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-11-19 09:09:27 +0100
commit0117f348a50f542fff32a0a6f2f813a0686d9117 (patch)
treea32b02d290db809360b087897c71c0c6ac7dfb51
parent0c9c313ff857134107687ee559dd51b8cb42059e (diff)
h8300: more RAM for gdb simulating h8300/h
-rw-r--r--target/linux/patches/4.4.96/h8300-moreram.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/patches/4.4.96/h8300-moreram.patch b/target/linux/patches/4.4.96/h8300-moreram.patch
new file mode 100644
index 000000000..325eb659e
--- /dev/null
+++ b/target/linux/patches/4.4.96/h8300-moreram.patch
@@ -0,0 +1,32 @@
+diff -Nur linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts
+--- linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-02 09:40:50.000000000 +0100
++++ linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-18 21:59:54.665879649 +0100
+@@ -37,7 +37,7 @@
+
+ memory@400000 {
+ device_type = "memory";
+- reg = <0x400000 0x400000>;
++ reg = <0x400000 0x800000>;
+ };
+
+ cpus {
+diff -Nur linux-4.4.96.orig/drivers/tty/serial/sh-sci.c linux-4.4.96/drivers/tty/serial/sh-sci.c
+--- linux-4.4.96.orig/drivers/tty/serial/sh-sci.c 2017-11-02 09:40:50.000000000 +0100
++++ linux-4.4.96/drivers/tty/serial/sh-sci.c 2017-11-18 22:15:05.951976319 +0100
+@@ -898,8 +898,6 @@
+ /* overrun error */
+ if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
+ copied++;
+-
+- dev_notice(port->dev, "overrun error\n");
+ }
+
+ if (status & SCxSR_FER(port)) {
+@@ -972,7 +970,6 @@
+ tty_insert_flip_char(tport, 0, TTY_OVERRUN);
+ tty_flip_buffer_push(tport);
+
+- dev_dbg(port->dev, "overrun error\n");
+ copied++;
+ }
+