From 33d0633f8e8ffca1bbe18bfd0199016d65ffbc75 Mon Sep 17 00:00:00 2001 From: Eric Benard Date: Thu, 13 May 2010 14:36:47 +0200 Subject: freescale-mx*5-3-stack : fix __flash_header_start _start is now exception_vectors since it was rewritten in C (not tested on these boards but compile should fail without this patch) Signed-off-by: Eric Benard Signed-off-by: Sascha Hauer --- board/freescale-mx25-3-stack/3stack.c | 2 +- board/freescale-mx35-3-stack/flash_header.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'board') diff --git a/board/freescale-mx25-3-stack/3stack.c b/board/freescale-mx25-3-stack/3stack.c index 5b802adbb2..f5316bf8f0 100644 --- a/board/freescale-mx25-3-stack/3stack.c +++ b/board/freescale-mx25-3-stack/3stack.c @@ -41,7 +41,7 @@ extern unsigned long _stext; void __naked __flash_header_start go(void) { - __asm__ __volatile__("b _start\n"); + __asm__ __volatile__("b exception_vectors\n"); } struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = { diff --git a/board/freescale-mx35-3-stack/flash_header.c b/board/freescale-mx35-3-stack/flash_header.c index 968a948a8d..171c499a6d 100644 --- a/board/freescale-mx35-3-stack/flash_header.c +++ b/board/freescale-mx35-3-stack/flash_header.c @@ -5,7 +5,7 @@ extern unsigned long _stext; void __naked __flash_header_start go(void) { - __asm__ __volatile__("b _start\n"); + __asm__ __volatile__("b exception_vectors\n"); } struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = { -- cgit v1.2.3 From 7b416988bb12b07b8bd506956f59acba9cdfe631 Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Mon, 17 May 2010 16:42:55 +0200 Subject: eukrea_cpuimx27: allow compilation without LP3972 selected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bénard Signed-off-by: Sascha Hauer --- board/eukrea_cpuimx27/eukrea_cpuimx27.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'board') diff --git a/board/eukrea_cpuimx27/eukrea_cpuimx27.c b/board/eukrea_cpuimx27/eukrea_cpuimx27.c index 2b6db15028..ef57a969f2 100644 --- a/board/eukrea_cpuimx27/eukrea_cpuimx27.c +++ b/board/eukrea_cpuimx27/eukrea_cpuimx27.c @@ -276,18 +276,20 @@ console_initcall(eukrea_cpuimx27_console_init); static int eukrea_cpuimx27_late_init(void) { +#ifdef CONFIG_DRIVER_I2C_LP3972 struct i2c_client *client; u8 reg[1]; - +#endif console_flush(); register_device(&fec_dev); +#ifdef CONFIG_DRIVER_I2C_LP3972 client = lp3972_get_client(); if (!client) return -ENODEV; reg[0] = 0xa0; i2c_write_reg(client, 0x39, reg, sizeof(reg)); - +#endif return 0; } -- cgit v1.2.3 From f93bf4f5cdafa52f50ad9fed1e7a387907c673ac Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 25 May 2010 09:25:32 +0200 Subject: pcm043: Fix check for being inside NFC space Signed-off-by: Sascha Hauer --- board/pcm043/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board') diff --git a/board/pcm043/lowlevel.c b/board/pcm043/lowlevel.c index d4059db008..9eff5a6713 100644 --- a/board/pcm043/lowlevel.c +++ b/board/pcm043/lowlevel.c @@ -194,7 +194,7 @@ void __bare_init __naked board_init_lowlevel(void) #ifdef CONFIG_NAND_IMX_BOOT /* skip NAND boot if not running from NFC space */ r = get_pc(); - if (r < IMX_NFC_BASE && r > IMX_NFC_BASE + 0x800) + if (r < IMX_NFC_BASE || r > IMX_NFC_BASE + 0x800) board_init_lowlevel_return(); src = (unsigned int *)IMX_NFC_BASE; -- cgit v1.2.3 From 5ba33bf2e626e32dc5ed02cd86607b95e922982b Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Thu, 10 Jun 2010 09:52:11 +0200 Subject: eukrea_cpuimx25: add compressed logo support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bénard Signed-off-by: Sascha Hauer --- board/eukrea_cpuimx25/env/bin/init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board') diff --git a/board/eukrea_cpuimx25/env/bin/init b/board/eukrea_cpuimx25/env/bin/init index 8bcc732a40..335d7ae579 100644 --- a/board/eukrea_cpuimx25/env/bin/init +++ b/board/eukrea_cpuimx25/env/bin/init @@ -14,6 +14,9 @@ fi if [ -f /env/logo.bmp ]; then bmp /env/logo.bmp +elif [ -f /env/logo.bmp.lzo ]; then + unlzo /env/logo.bmp.lzo /logo.bmp + bmp /logo.bmp fi if [ -z $eth0.ethaddr ]; then -- cgit v1.2.3 From fa9153df32c41bbd73d7c15af363421b2d50f31f Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Thu, 10 Jun 2010 09:55:36 +0200 Subject: cpuimx25: remove unused define MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bénard Signed-off-by: Sascha Hauer --- board/eukrea_cpuimx25/eukrea_cpuimx25.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board') diff --git a/board/eukrea_cpuimx25/eukrea_cpuimx25.c b/board/eukrea_cpuimx25/eukrea_cpuimx25.c index 8cbbc4fc57..b19efcc9d3 100644 --- a/board/eukrea_cpuimx25/eukrea_cpuimx25.c +++ b/board/eukrea_cpuimx25/eukrea_cpuimx25.c @@ -63,8 +63,6 @@ struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = { { .ptr_type = 4, .addr = 0x53f80008, .val = 0x20034000, }, }; -#define APP_DEST 0x80000000 - struct imx_flash_header __flash_header_0x400 eukrea_cpuimx25_header = { .app_code_jump_vector = TEXT_BASE + 0x2000, .app_code_barker = APP_CODE_BARKER, -- cgit v1.2.3