eukrea_cpuimx35: boot update
Subsystems (2)
PATCH 1/1 eukrea_cpuimx35: boot update
internal boot : dcd update for mDDR init (relaxed timings)
NAND boot update : mDDR init updated (optimized timings)
configure led's IOMUX and set it off at boot
Signed-off-by Eric Bénard <[email protected]>
--- board/eukrea_cpuimx35/eukrea_cpuimx35.c | 4 ++ board/eukrea_cpuimx35/flash_header.c | 24 ++--------- board/eukrea_cpuimx35/lowlevel.c | 67 ++++-------------------------- 3 files changed, 17 insertions(+), 78 deletions(-)
board/eukrea_cpuimx35/eukrea_cpuimx35.c +4 -0
@@ -210,6 +210,7 @@ static struct pad_desc eukrea_cpuimx35_pads[] = {MX35_PAD_CONTRAST__GPIO1_1 ,MX35_PAD_D3_CLS__GPIO1_4 , + MX35_PAD_LD23__GPIO3_29, };
@@ -218,6 +219,9 @@ static int eukrea_cpuimx35_console_init(void)mxc_iomux_v3_setup_multiple_pads (eukrea_cpuimx35_pads,ARRAY_SIZE (eukrea_cpuimx35_pads)); +/* led default off */ +gpio_direction_output (32 *2 +29 ,1 ); +register_device (&eukrea_cpuimx35_serial_device);return 0 ;
board/eukrea_cpuimx35/flash_header.c +4 -20
@@ -9,37 +9,21 @@ void __naked __flash_header_start go(void) } struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = { + { .ptr_type =4 , .addr =0x53F80004 , .val =0x00821000 , }, + { .ptr_type =4 , .addr =0x53F80004 , .val =0x00821000 , }, { .ptr_type =4 , .addr =0xB8001010 , .val =0x00000004 , }, { .ptr_type =4 , .addr =0xB8001010 , .val =0x0000000C , }, { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc3f , }, { .ptr_type =4 , .addr =0xB8001000 , .val =0x92220000 , }, - { .ptr_type =1 , .addr =0x80000400 , .val =0x12345678 , }, + { .ptr_type =1 , .addr =0x80000400 , .val =0xda , }, { .ptr_type =4 , .addr =0xB8001000 , .val =0xA2220000 , }, { .ptr_type =1 , .addr =0x80000000 , .val =0x87654321 , }, { .ptr_type =1 , .addr =0x80000000 , .val =0x87654321 , }, { .ptr_type =4 , .addr =0xB8001000 , .val =0xB2220000 , }, { .ptr_type =1 , .addr =0x80000033 , .val =0xda , }, { .ptr_type =1 , .addr =0x82000000 , .val =0xda , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001004 , .val =0x007ffc2f , }, - { .ptr_type =4 , .addr =0xB8001000 , .val =0x82220080 , }, { .ptr_type =4 , .addr =0xB8001000 , .val =0x82228080 , }, - { .ptr_type =4 , .addr =0xB8001020 , .val =0x80000028 , }, - { .ptr_type =4 , .addr =0xB8001024 , .val =0x80000028 , }, - { .ptr_type =4 , .addr =0xB8001028 , .val =0x80000028 , }, - { .ptr_type =4 , .addr =0xB800102c , .val =0x80000028 , }, - { .ptr_type =4 , .addr =0xB8001030 , .val =0x80000028 , }, + { .ptr_type =4 , .addr =0xB8001010 , .val =0x00000004 , }, };#define APP_DEST 0x80000000
board/eukrea_cpuimx35/lowlevel.c +9 -58
84 lines not on this page · raw message
Signature · 7 lines
1.6.3.3 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox