[PATCH 1/2] mtk: uart: remove forgotten calypso-include
Dunno how that survived... Signed-off-by: Wolfram Sang <wolfram@the-dreams.de> --- src/target/firmware/board/mediatek/uart.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/target/firmware/board/mediatek/uart.c b/src/target/firmware/board/mediatek/uart.c index ff82245..8e86b20 100644 --- a/src/target/firmware/board/mediatek/uart.c +++ b/src/target/firmware/board/mediatek/uart.c @@ -36,8 +36,6 @@ #include <comm/sercomm.h> -#include <calypso/irq.h> - /* MT622x */ #if 0 #define BASE_ADDR_UART1 0x80130000 -- 1.7.2.5
gcc3 (and some gcc4) produce code which does not fit into the 0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will build correctly again. The created binary (gcc3) has been successfully tested on my G2. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de> --- src/target/firmware/board/mediatek/ram.lds | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/firmware/board/mediatek/ram.lds b/src/target/firmware/board/mediatek/ram.lds index 465c0ba..a2af560 100644 --- a/src/target/firmware/board/mediatek/ram.lds +++ b/src/target/firmware/board/mediatek/ram.lds @@ -11,9 +11,9 @@ ENTRY(_start) MEMORY { /* mtk-loaded binary: our text, initialized data */ - LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00005000 + LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00006000 /* mtk-loaded binary: our unitialized data, stacks, heap */ - IRAM (rw) : ORIGIN = 0x40005000, LENGTH = 0x00005000 + IRAM (rw) : ORIGIN = 0x40006000, LENGTH = 0x00006000 } SECTIONS { -- 1.7.2.5
Hi Wolfgang, On Mon, May 30, 2011 at 08:03:17PM +0200, Wolfram Sang wrote:
gcc3 (and some gcc4) produce code which does not fit into the 0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will build correctly again. The created binary (gcc3) has been successfully tested on my G2.
Thanks, both patches applied! -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
participants (2)
-
Harald Welte -
Wolfram Sang