* [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() @ 2011-09-22 18:07 Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam 2011-09-23 8:52 ` [U-Boot] [PATCH 1/13] mx31pdk: " Stefano Babic 0 siblings, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx31pdk/mx31pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c index f6e190a..b522cfa 100644 --- a/board/freescale/mx31pdk/mx31pdk.c +++ b/board/freescale/mx31pdk/mx31pdk.c @@ -47,12 +47,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - int board_early_init_f(void) { /* CS5: CPLD incl. network controller */ -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 2/13] mx25pdk: Remove dram_init_banksize() 2011-09-22 18:07 [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam 2011-09-23 8:52 ` [U-Boot] [PATCH 2/13] mx25pdk: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 1/13] mx31pdk: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx25pdk/mx25pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 6b5d1fc..34a3811 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -33,12 +33,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - int board_early_init_f(void) { mx25_uart1_init_pins(); -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 3/13] mx31ads: Remove dram_init_banksize() 2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam 2011-09-23 8:52 ` [U-Boot] [PATCH 3/13] mx31ads: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 2/13] mx25pdk: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx31ads/mx31ads.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/board/freescale/mx31ads/mx31ads.c b/board/freescale/mx31ads/mx31ads.c index 7637c92..4d99f49 100644 --- a/board/freescale/mx31ads/mx31ads.c +++ b/board/freescale/mx31ads/mx31ads.c @@ -36,12 +36,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - int board_early_init_f(void) { int i; -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() 2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam 2011-09-23 8:52 ` [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 3/13] mx31ads: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------ include/configs/imx31_litekit.h | 2 +- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c index 09cc9c5..0402a0b 100644 --- a/board/logicpd/imx31_litekit/imx31_litekit.c +++ b/board/logicpd/imx31_litekit/imx31_litekit.c @@ -37,12 +37,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - int board_early_init_f(void) { __REG(CSCR_U(0)) = 0x0000cf03; /* CS0: Nor Flash */ diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index b7f1cb3..2a02b3d 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -150,7 +150,7 @@ #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024) #define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_SYS_SDRAM_BASE CSD0_BASE +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam 2011-09-23 8:53 ` [U-Boot] [PATCH 5/13] mx31pdk: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx31pdk/mx31pdk.c | 1 - include/configs/mx31pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c index b522cfa..276d451 100644 --- a/board/freescale/mx31pdk/mx31pdk.c +++ b/board/freescale/mx31pdk/mx31pdk.c @@ -63,7 +63,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */ /* adress of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 466dc5d..cd156d8 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -45,6 +45,8 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX31_3DS + #if defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL) #define CONFIG_SKIP_LOWLEVEL_INIT #endif -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 6/13] mx25pdk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam 2011-09-23 8:53 ` [U-Boot] [PATCH 6/13] mx25pdk: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 5/13] mx31pdk: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx25pdk/mx25pdk.c | 1 - include/configs/mx25pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 34a3811..4a8352f 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -42,7 +42,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX25_3DS; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index fc80a71..0afae24 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -28,6 +28,8 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS + /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 7/13] mx31ads: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam 2011-09-23 8:53 ` [U-Boot] [PATCH 7/13] mx31ads: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 6/13] mx25pdk: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx31ads/mx31ads.c | 1 - include/configs/mx31ads.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx31ads/mx31ads.c b/board/freescale/mx31ads/mx31ads.c index 4d99f49..4dd1e63 100644 --- a/board/freescale/mx31ads/mx31ads.c +++ b/board/freescale/mx31ads/mx31ads.c @@ -99,7 +99,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX31ADS; /* board id for linux */ gd->bd->bi_boot_params = 0x80000100; /* adress of boot parameters */ return 0; diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h index adb2ee1..0bea858 100644 --- a/include/configs/mx31ads.h +++ b/include/configs/mx31ads.h @@ -35,6 +35,8 @@ #define CONFIG_SYS_TEXT_BASE 0xA0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31ADS + /* * Disabled for now due to build problems under Debian and a significant increase * in the final file size: 144260 vs. 109536 Bytes. -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 8/13] imx31_litekit: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam 2011-09-23 8:53 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 7/13] mx31ads: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/logicpd/imx31_litekit/imx31_litekit.c | 1 - include/configs/imx31_litekit.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c index 0402a0b..7214008 100644 --- a/board/logicpd/imx31_litekit/imx31_litekit.c +++ b/board/logicpd/imx31_litekit/imx31_litekit.c @@ -70,7 +70,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX31LITE; /* board id for linux */ gd->bd->bi_boot_params = (0x80000100); /* adress of boot parameters */ return 0; diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 2a02b3d..5e976bc 100644 --- a/include/configs/imx31_litekit.h +++ b/include/configs/imx31_litekit.h @@ -41,6 +41,8 @@ #define CONFIG_SYS_TEXT_BASE 0xa0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31LITE + /* Temporarily disabled */ #if 0 #define CONFIG_OF_LIBFDT 1 -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 9/13] mx51evk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam 2011-09-23 8:53 ` [U-Boot] [PATCH 9/13] mx51evk: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx51evk/mx51evk.c | 1 - include/configs/mx51evk.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 94ea1f2..8da1ee8 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -403,7 +403,6 @@ int board_init(void) { system_rev = get_cpu_rev(); - gd->bd->bi_arch_number = MACH_TYPE_MX51_BABBAGE; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 7d05dc8..39bf2a1 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -48,6 +48,7 @@ #define CONFIG_OF_LIBFDT 1 +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_BABBAGE /* * Size of malloc() pool */ -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam ` (2 more replies) 2011-09-23 8:53 ` [U-Boot] [PATCH 9/13] mx51evk: " Stefano Babic 1 sibling, 3 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx53loco/mx53loco.c | 1 - include/configs/mx53loco.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index ade1006..156f8b5 100644 --- a/board/freescale/mx53loco/mx53loco.c +++ b/board/freescale/mx53loco/mx53loco.c @@ -288,7 +288,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; return 0; diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index cfb38a5..4091703 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -30,6 +30,8 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO + #include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 11/13] mx53smd: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam 2011-09-23 8:54 ` [U-Boot] [PATCH 11/13] mx53smd: " Stefano Babic 2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic 2011-09-23 8:54 ` Stefano Babic 2 siblings, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx53smd/mx53smd.c | 1 - include/configs/mx53smd.h | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c index 4a7ee55..776784f 100644 --- a/board/freescale/mx53smd/mx53smd.c +++ b/board/freescale/mx53smd/mx53smd.c @@ -214,7 +214,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX53_SMD; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h index 49f8c6e..261f0bc 100644 --- a/include/configs/mx53smd.h +++ b/include/configs/mx53smd.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 Freescale Semiconductor, Inc. * - * Configuration settings for the MX53-SMDFreescale board. + * Configuration settings for the MX53SMD Freescale board. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -29,6 +29,8 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_SMD + #include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 12/13] mx53ard: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam 2011-09-23 8:54 ` [U-Boot] [PATCH 12/13] mx53ard: " Stefano Babic 2011-09-23 8:54 ` [U-Boot] [PATCH 11/13] mx53smd: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx53ard/mx53ard.c | 1 - include/configs/mx53ard.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c index 6e3360b..c89da13 100644 --- a/board/freescale/mx53ard/mx53ard.c +++ b/board/freescale/mx53ard/mx53ard.c @@ -278,7 +278,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX53_ARD; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index c0b8d6a..26fc219 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -29,6 +29,8 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_ARD + #include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 13/13] mx53evk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam @ 2011-09-22 18:07 ` Fabio Estevam 2011-09-23 8:31 ` Stefano Babic 2011-09-23 8:54 ` Stefano Babic 2011-09-23 8:54 ` [U-Boot] [PATCH 12/13] mx53ard: " Stefano Babic 1 sibling, 2 replies; 30+ messages in thread From: Fabio Estevam @ 2011-09-22 18:07 UTC (permalink / raw) To: u-boot Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/freescale/mx53evk/mx53evk.c | 1 - include/configs/mx53evk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index 81857ff..fd821c0 100644 --- a/board/freescale/mx53evk/mx53evk.c +++ b/board/freescale/mx53evk/mx53evk.c @@ -355,7 +355,6 @@ int board_early_init_f(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK; /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index 7fb1d9a..b127b06 100644 --- a/include/configs/mx53evk.h +++ b/include/configs/mx53evk.h @@ -29,6 +29,8 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK + #include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ -- 1.6.0.4 ^ permalink raw reply related [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 13/13] mx53evk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam @ 2011-09-23 8:31 ` Stefano Babic 2011-09-23 8:37 ` Jason Hui 2011-09-23 8:54 ` Stefano Babic 1 sibling, 1 reply; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:31 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53evk/mx53evk.c | 1 - > include/configs/mx53evk.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c > index 81857ff..fd821c0 100644 > --- a/board/freescale/mx53evk/mx53evk.c > +++ b/board/freescale/mx53evk/mx53evk.c > @@ -355,7 +355,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h > index 7fb1d9a..b127b06 100644 > --- a/include/configs/mx53evk.h > +++ b/include/configs/mx53evk.h > @@ -29,6 +29,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ Forwarded to Jason. Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 13/13] mx53evk: Place machine ID into board config 2011-09-23 8:31 ` Stefano Babic @ 2011-09-23 8:37 ` Jason Hui 0 siblings, 0 replies; 30+ messages in thread From: Jason Hui @ 2011-09-23 8:37 UTC (permalink / raw) To: u-boot Hi, Fabio, On Fri, Sep 23, 2011 at 4:31 PM, Stefano Babic <sbabic@denx.de> wrote: > On 09/22/2011 08:07 PM, Fabio Estevam wrote: >> Let common code set the machine ID. >> >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> As Stefano said, please Cc me here. >> --- >> ?board/freescale/mx53evk/mx53evk.c | ? ?1 - >> ?include/configs/mx53evk.h ? ? ? ? | ? ?2 ++ >> ?2 files changed, 2 insertions(+), 1 deletions(-) >> >> diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c >> index 81857ff..fd821c0 100644 >> --- a/board/freescale/mx53evk/mx53evk.c >> +++ b/board/freescale/mx53evk/mx53evk.c >> @@ -355,7 +355,6 @@ int board_early_init_f(void) >> >> ?int board_init(void) >> ?{ >> - ? ? gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK; >> ? ? ? /* address of boot parameters */ >> ? ? ? gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; >> >> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h >> index 7fb1d9a..b127b06 100644 >> --- a/include/configs/mx53evk.h >> +++ b/include/configs/mx53evk.h >> @@ -29,6 +29,8 @@ >> ?#define CONFIG_DISPLAY_CPUINFO >> ?#define CONFIG_DISPLAY_BOARDINFO >> >> +#define CONFIG_MACH_TYPE ? ? MACH_TYPE_MX53_EVK >> + >> ?#include <asm/arch/imx-regs.h> >> >> ?#define CONFIG_CMDLINE_TAG ? ? ? ? ? 1 ? ? ? /* enable passing of ATAGs */ > > Forwarded to Jason. Acked-by: Jason Liu <jason.hui@linaro.org> > > Acked-by: Stefano Babic <sbabic@denx.de> > > Best regards, > Stefano Babic > > -- > ===================================================================== > DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 ?Email: office at denx.de > ===================================================================== > ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 13/13] mx53evk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam 2011-09-23 8:31 ` Stefano Babic @ 2011-09-23 8:54 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:54 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53evk/mx53evk.c | 1 - > include/configs/mx53evk.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c > index 81857ff..fd821c0 100644 > --- a/board/freescale/mx53evk/mx53evk.c > +++ b/board/freescale/mx53evk/mx53evk.c > @@ -355,7 +355,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h > index 7fb1d9a..b127b06 100644 > --- a/include/configs/mx53evk.h > +++ b/include/configs/mx53evk.h > @@ -29,6 +29,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 12/13] mx53ard: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam @ 2011-09-23 8:54 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:54 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53ard/mx53ard.c | 1 - > include/configs/mx53ard.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c > index 6e3360b..c89da13 100644 > --- a/board/freescale/mx53ard/mx53ard.c > +++ b/board/freescale/mx53ard/mx53ard.c > @@ -278,7 +278,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_ARD; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h > index c0b8d6a..26fc219 100644 > --- a/include/configs/mx53ard.h > +++ b/include/configs/mx53ard.h > @@ -29,6 +29,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_ARD > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 11/13] mx53smd: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam @ 2011-09-23 8:54 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:54 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53smd/mx53smd.c | 1 - > include/configs/mx53smd.h | 4 +++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c > index 4a7ee55..776784f 100644 > --- a/board/freescale/mx53smd/mx53smd.c > +++ b/board/freescale/mx53smd/mx53smd.c > @@ -214,7 +214,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_SMD; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h > index 49f8c6e..261f0bc 100644 > --- a/include/configs/mx53smd.h > +++ b/include/configs/mx53smd.h > @@ -1,7 +1,7 @@ > /* > * Copyright (C) 2011 Freescale Semiconductor, Inc. > * > - * Configuration settings for the MX53-SMDFreescale board. > + * Configuration settings for the MX53SMD Freescale board. > * > * This program is free software; you can redistribute it and/or > * modify it under the terms of the GNU General Public License as > @@ -29,6 +29,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_SMD > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */ Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam @ 2011-09-23 8:30 ` Stefano Babic 2011-09-23 8:42 ` Jason Hui 2011-09-23 8:54 ` Stefano Babic 2 siblings, 1 reply; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:30 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53loco/mx53loco.c | 1 - > include/configs/mx53loco.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c > index ade1006..156f8b5 100644 > --- a/board/freescale/mx53loco/mx53loco.c > +++ b/board/freescale/mx53loco/mx53loco.c > @@ -288,7 +288,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO; > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > return 0; > diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h > index cfb38a5..4091703 100644 > --- a/include/configs/mx53loco.h > +++ b/include/configs/mx53loco.h > @@ -30,6 +30,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG No problem with the patch, but it should be sent to the board maintainer,too (Jason, in CC). Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config 2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic @ 2011-09-23 8:42 ` Jason Hui 0 siblings, 0 replies; 30+ messages in thread From: Jason Hui @ 2011-09-23 8:42 UTC (permalink / raw) To: u-boot On Fri, Sep 23, 2011 at 4:30 PM, Stefano Babic <sbabic@denx.de> wrote: > On 09/22/2011 08:07 PM, Fabio Estevam wrote: >> Let common code set the machine ID. >> >> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> As Stefano said, please Cc me here. >> --- >> ?board/freescale/mx53loco/mx53loco.c | ? ?1 - >> ?include/configs/mx53loco.h ? ? ? ? ?| ? ?2 ++ >> ?2 files changed, 2 insertions(+), 1 deletions(-) >> >> diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c >> index ade1006..156f8b5 100644 >> --- a/board/freescale/mx53loco/mx53loco.c >> +++ b/board/freescale/mx53loco/mx53loco.c >> @@ -288,7 +288,6 @@ int board_early_init_f(void) >> >> ?int board_init(void) >> ?{ >> - ? ? gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO; >> ? ? ? gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; >> >> ? ? ? return 0; >> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h >> index cfb38a5..4091703 100644 >> --- a/include/configs/mx53loco.h >> +++ b/include/configs/mx53loco.h >> @@ -30,6 +30,8 @@ >> ?#define CONFIG_DISPLAY_CPUINFO >> ?#define CONFIG_DISPLAY_BOARDINFO >> >> +#define CONFIG_MACH_TYPE ? ? MACH_TYPE_MX53_LOCO >> + >> ?#include <asm/arch/imx-regs.h> >> >> ?#define CONFIG_CMDLINE_TAG > > > No problem with the patch, but it should be sent to the board > maintainer,too (Jason, in CC). +1, please Acked-by: Jason Liu <jason.hui@linaro.org> > > Best regards, > Stefano Babic > > -- > ===================================================================== > DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 ?Email: office at denx.de > ===================================================================== > ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam 2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic @ 2011-09-23 8:54 ` Stefano Babic 2 siblings, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:54 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx53loco/mx53loco.c | 1 - > include/configs/mx53loco.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c > index ade1006..156f8b5 100644 > --- a/board/freescale/mx53loco/mx53loco.c > +++ b/board/freescale/mx53loco/mx53loco.c > @@ -288,7 +288,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO; > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > return 0; > diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h > index cfb38a5..4091703 100644 > --- a/include/configs/mx53loco.h > +++ b/include/configs/mx53loco.h > @@ -30,6 +30,8 @@ > #define CONFIG_DISPLAY_CPUINFO > #define CONFIG_DISPLAY_BOARDINFO > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO > + > #include <asm/arch/imx-regs.h> > > #define CONFIG_CMDLINE_TAG Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 9/13] mx51evk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam @ 2011-09-23 8:53 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:53 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx51evk/mx51evk.c | 1 - > include/configs/mx51evk.h | 1 + > 2 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c > index 94ea1f2..8da1ee8 100644 > --- a/board/freescale/mx51evk/mx51evk.c > +++ b/board/freescale/mx51evk/mx51evk.c > @@ -403,7 +403,6 @@ int board_init(void) > { > system_rev = get_cpu_rev(); > > - gd->bd->bi_arch_number = MACH_TYPE_MX51_BABBAGE; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h > index 7d05dc8..39bf2a1 100644 > --- a/include/configs/mx51evk.h > +++ b/include/configs/mx51evk.h > @@ -48,6 +48,7 @@ > > #define CONFIG_OF_LIBFDT 1 > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_BABBAGE > /* > * Size of malloc() pool > */ Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 8/13] imx31_litekit: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam @ 2011-09-23 8:53 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:53 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/logicpd/imx31_litekit/imx31_litekit.c | 1 - > include/configs/imx31_litekit.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c > index 0402a0b..7214008 100644 > --- a/board/logicpd/imx31_litekit/imx31_litekit.c > +++ b/board/logicpd/imx31_litekit/imx31_litekit.c > @@ -70,7 +70,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX31LITE; /* board id for linux */ > gd->bd->bi_boot_params = (0x80000100); /* adress of boot parameters */ > > return 0; > diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h > index 2a02b3d..5e976bc 100644 > --- a/include/configs/imx31_litekit.h > +++ b/include/configs/imx31_litekit.h > @@ -41,6 +41,8 @@ > > #define CONFIG_SYS_TEXT_BASE 0xa0000000 > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX31LITE > + > /* Temporarily disabled */ > #if 0 > #define CONFIG_OF_LIBFDT 1 Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 7/13] mx31ads: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam @ 2011-09-23 8:53 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:53 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx31ads/mx31ads.c | 1 - > include/configs/mx31ads.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx31ads/mx31ads.c b/board/freescale/mx31ads/mx31ads.c > index 4d99f49..4dd1e63 100644 > --- a/board/freescale/mx31ads/mx31ads.c > +++ b/board/freescale/mx31ads/mx31ads.c > @@ -99,7 +99,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX31ADS; /* board id for linux */ > gd->bd->bi_boot_params = 0x80000100; /* adress of boot parameters */ > > return 0; > diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h > index adb2ee1..0bea858 100644 > --- a/include/configs/mx31ads.h > +++ b/include/configs/mx31ads.h > @@ -35,6 +35,8 @@ > > #define CONFIG_SYS_TEXT_BASE 0xA0000000 > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX31ADS > + > /* > * Disabled for now due to build problems under Debian and a significant increase > * in the final file size: 144260 vs. 109536 Bytes. Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 6/13] mx25pdk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam @ 2011-09-23 8:53 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:53 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx25pdk/mx25pdk.c | 1 - > include/configs/mx25pdk.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c > index 34a3811..4a8352f 100644 > --- a/board/freescale/mx25pdk/mx25pdk.c > +++ b/board/freescale/mx25pdk/mx25pdk.c > @@ -42,7 +42,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX25_3DS; > /* address of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h > index fc80a71..0afae24 100644 > --- a/include/configs/mx25pdk.h > +++ b/include/configs/mx25pdk.h > @@ -28,6 +28,8 @@ > #define CONFIG_SETUP_MEMORY_TAGS > #define CONFIG_INITRD_TAG > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS > + > /* Size of malloc() pool */ > #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) > Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config 2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam @ 2011-09-23 8:53 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:53 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > Let common code set the machine ID. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx31pdk/mx31pdk.c | 1 - > include/configs/mx31pdk.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c > index b522cfa..276d451 100644 > --- a/board/freescale/mx31pdk/mx31pdk.c > +++ b/board/freescale/mx31pdk/mx31pdk.c > @@ -63,7 +63,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */ > /* adress of boot parameters */ > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h > index 466dc5d..cd156d8 100644 > --- a/include/configs/mx31pdk.h > +++ b/include/configs/mx31pdk.h > @@ -45,6 +45,8 @@ > #define CONFIG_SETUP_MEMORY_TAGS > #define CONFIG_INITRD_TAG > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX31_3DS > + > #if defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL) > #define CONFIG_SKIP_LOWLEVEL_INIT > #endif Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() 2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam @ 2011-09-23 8:52 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:52 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------ > include/configs/imx31_litekit.h | 2 +- > 2 files changed, 1 insertions(+), 7 deletions(-) > > diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c > index 09cc9c5..0402a0b 100644 > --- a/board/logicpd/imx31_litekit/imx31_litekit.c > +++ b/board/logicpd/imx31_litekit/imx31_litekit.c > @@ -37,12 +37,6 @@ int dram_init(void) > return 0; > } > > -void dram_init_banksize(void) > -{ > - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; > - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; > -} > - > int board_early_init_f(void) > { > __REG(CSCR_U(0)) = 0x0000cf03; /* CS0: Nor Flash */ > diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h > index b7f1cb3..2a02b3d 100644 > --- a/include/configs/imx31_litekit.h > +++ b/include/configs/imx31_litekit.h > @@ -150,7 +150,7 @@ > #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024) > #define CONFIG_BOARD_EARLY_INIT_F > > -#define CONFIG_SYS_SDRAM_BASE CSD0_BASE > +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 > #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR > #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE > #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 3/13] mx31ads: Remove dram_init_banksize() 2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam @ 2011-09-23 8:52 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:52 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx31ads/mx31ads.c | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/board/freescale/mx31ads/mx31ads.c b/board/freescale/mx31ads/mx31ads.c > index 7637c92..4d99f49 100644 > --- a/board/freescale/mx31ads/mx31ads.c > +++ b/board/freescale/mx31ads/mx31ads.c > @@ -36,12 +36,6 @@ int dram_init(void) > return 0; > } > > -void dram_init_banksize(void) > -{ > - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; > - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; > -} > - > int board_early_init_f(void) > { > int i; Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 2/13] mx25pdk: Remove dram_init_banksize() 2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam @ 2011-09-23 8:52 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:52 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx25pdk/mx25pdk.c | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c > index 6b5d1fc..34a3811 100644 > --- a/board/freescale/mx25pdk/mx25pdk.c > +++ b/board/freescale/mx25pdk/mx25pdk.c > @@ -33,12 +33,6 @@ int dram_init(void) > return 0; > } > > -void dram_init_banksize(void) > -{ > - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; > - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; > -} > - > int board_early_init_f(void) > { > mx25_uart1_init_pins(); Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
* [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() 2011-09-22 18:07 [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam @ 2011-09-23 8:52 ` Stefano Babic 1 sibling, 0 replies; 30+ messages in thread From: Stefano Babic @ 2011-09-23 8:52 UTC (permalink / raw) To: u-boot On 09/22/2011 08:07 PM, Fabio Estevam wrote: > As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > board/freescale/mx31pdk/mx31pdk.c | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c > index f6e190a..b522cfa 100644 > --- a/board/freescale/mx31pdk/mx31pdk.c > +++ b/board/freescale/mx31pdk/mx31pdk.c > @@ -47,12 +47,6 @@ int dram_init(void) > return 0; > } > > -void dram_init_banksize(void) > -{ > - gd->bd->bi_dram[0].start = PHYS_SDRAM_1; > - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; > -} > - > int board_early_init_f(void) > { > /* CS5: CPLD incl. network controller */ Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2011-09-23 8:54 UTC | newest] Thread overview: 30+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-09-22 18:07 [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam 2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam 2011-09-23 8:31 ` Stefano Babic 2011-09-23 8:37 ` Jason Hui 2011-09-23 8:54 ` Stefano Babic 2011-09-23 8:54 ` [U-Boot] [PATCH 12/13] mx53ard: " Stefano Babic 2011-09-23 8:54 ` [U-Boot] [PATCH 11/13] mx53smd: " Stefano Babic 2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic 2011-09-23 8:42 ` Jason Hui 2011-09-23 8:54 ` Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 9/13] mx51evk: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 7/13] mx31ads: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 6/13] mx25pdk: " Stefano Babic 2011-09-23 8:53 ` [U-Boot] [PATCH 5/13] mx31pdk: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 3/13] mx31ads: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 2/13] mx25pdk: " Stefano Babic 2011-09-23 8:52 ` [U-Boot] [PATCH 1/13] mx31pdk: " Stefano Babic
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox