* [U-Boot] [RESEND PATCH 01/12] pxa: fix wrong comment about vpac270 being the arch number
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 02/12] remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ Marcel Ziswiler
` (11 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
board/balloon3/balloon3.c | 2 +-
board/toradex/colibri_pxa270/colibri_pxa270.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/balloon3/balloon3.c b/board/balloon3/balloon3.c
index aa108ca..458d90c 100644
--- a/board/balloon3/balloon3.c
+++ b/board/balloon3/balloon3.c
@@ -29,7 +29,7 @@ int board_init(void)
dcache_disable();
icache_disable();
- /* arch number of vpac270 */
+ /* arch number of balloon3 */
gd->bd->bi_arch_number = MACH_TYPE_BALLOON3;
/* adress of boot parameters */
diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c
index 8d95e4d..3def0a6 100644
--- a/board/toradex/colibri_pxa270/colibri_pxa270.c
+++ b/board/toradex/colibri_pxa270/colibri_pxa270.c
@@ -23,7 +23,7 @@ int board_init(void)
dcache_disable();
icache_disable();
- /* arch number of vpac270 */
+ /* arch number of Toradex Colibri PXA270 */
gd->bd->bi_arch_number = MACH_TYPE_COLIBRI;
/* adress of boot parameters */
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 02/12] remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 01/12] pxa: fix wrong comment about vpac270 being the arch number Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-16 12:33 ` [U-Boot] [PATCH " Stefano Babic
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 03/12] pxa: balloon3: remove nowhere used symbol CONFIG_SYS_MEM_BUF_IMP Marcel Ziswiler
` (10 subsequent siblings)
12 siblings, 1 reply; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Basically finish what the following commit started a long time ago:
488f5d8790c451fc527fe5d2ef218f2a5e40ea17
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
For mx35pdk/woodburn:
Acked-by: Stefano Babic <sbabic@denx.de>
---
include/configs/balloon3.h | 1 -
include/configs/flea3.h | 2 --
include/configs/mx35pdk.h | 2 --
include/configs/palmld.h | 1 -
include/configs/palmtc.h | 1 -
include/configs/palmtreo680.h | 1 -
include/configs/snowball.h | 1 -
include/configs/ti816x_evm.h | 1 -
include/configs/u8500_href.h | 1 -
include/configs/vexpress_common.h | 1 -
include/configs/woodburn_common.h | 2 --
include/configs/zipitz2.h | 1 -
12 files changed, 15 deletions(-)
diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
index 2f5a660..8dabc80 100644
--- a/include/configs/balloon3.h
+++ b/include/configs/balloon3.h
@@ -84,7 +84,6 @@
/*
* Clock Configuration
*/
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_CPUSPEED 0x290 /* 520MHz */
/*
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index bf02829..edff0f5 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -124,8 +124,6 @@
#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */
#define CONFIG_SYS_MEMTEST_END 0x10000
-#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
-
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
/*
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index a145f08..603d17c 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -146,8 +146,6 @@
#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */
#define CONFIG_SYS_MEMTEST_END 0x10000
-#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
-
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
/*
diff --git a/include/configs/palmld.h b/include/configs/palmld.h
index 9480d8d..7dbc9ae 100644
--- a/include/configs/palmld.h
+++ b/include/configs/palmld.h
@@ -114,7 +114,6 @@
/*
* Clock Configuration
*/
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_CPUSPEED 0x210 /* 416MHz ; N=2,L=16 */
/*
diff --git a/include/configs/palmtc.h b/include/configs/palmtc.h
index 8abce1b..75506b2 100644
--- a/include/configs/palmtc.h
+++ b/include/configs/palmtc.h
@@ -116,7 +116,6 @@
/*
* Clock Configuration
*/
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_CPUSPEED 0x161 /* 400MHz;L=1 M=3 T=1 */
/*
diff --git a/include/configs/palmtreo680.h b/include/configs/palmtreo680.h
index 6490be5..bd0f44b 100644
--- a/include/configs/palmtreo680.h
+++ b/include/configs/palmtreo680.h
@@ -117,7 +117,6 @@
/*
* Clock Configuration
*/
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_CPUSPEED 0x210 /* 416MHz ; N=2,L=16 */
/*
diff --git a/include/configs/snowball.h b/include/configs/snowball.h
index dacb560..126201c 100644
--- a/include/configs/snowball.h
+++ b/include/configs/snowball.h
@@ -175,7 +175,6 @@
#define CONFIG_SYS_MAXARGS 32 /* max number of command args */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Arg Buffer Size */
-#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
#define CONFIG_SYS_LOAD_ADDR 0x00100000 /* default load address */
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1
diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h
index 87a4efc..f69a559 100644
--- a/include/configs/ti816x_evm.h
+++ b/include/configs/ti816x_evm.h
@@ -58,7 +58,6 @@
+ sizeof(CONFIG_SYS_PROMPT) + 16) /* print buffer size */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* boot arg buffer size */
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_LOAD_ADDR 0x81000000 /* Default load address */
#define CONFIG_CMD_ASKEN
diff --git a/include/configs/u8500_href.h b/include/configs/u8500_href.h
index 8d7970a..5302b1f 100644
--- a/include/configs/u8500_href.h
+++ b/include/configs/u8500_href.h
@@ -131,7 +131,6 @@
#define CONFIG_SYS_MAXARGS 32 /* max number of command args */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Arg Buffer Size */
-#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
#define CONFIG_SYS_LOAD_ADDR 0x00100000 /* default load address */
#define CONFIG_SYS_LOADS_BAUD_CHANGE
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 2dea921..989e755 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -188,7 +188,6 @@
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
/* Miscellaneous configurable options */
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_LOAD_ADDR (V2M_BASE + 0x8000)
#define LINUX_BOOT_PARAM_ADDR (V2M_BASE + 0x2000)
#define CONFIG_BOOTDELAY 2
diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h
index c7a17f7..8e1c7a4 100644
--- a/include/configs/woodburn_common.h
+++ b/include/configs/woodburn_common.h
@@ -146,8 +146,6 @@
#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */
#define CONFIG_SYS_MEMTEST_END 0x10000
-#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
-
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
/*
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index fe331bc..1dbbc15 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -136,7 +136,6 @@ unsigned char zipitz2_spi_read(void);
/*
* Clock Configuration
*/
-#undef CONFIG_SYS_CLKS_IN_HZ
#define CONFIG_SYS_CPUSPEED 0x190 /* standard setting for 312MHz; L=16, N=1.5, A=0, SDCLK!=SystemBus */
/*
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [PATCH 02/12] remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 02/12] remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ Marcel Ziswiler
@ 2015-02-16 12:33 ` Stefano Babic
0 siblings, 0 replies; 18+ messages in thread
From: Stefano Babic @ 2015-02-16 12:33 UTC (permalink / raw)
To: u-boot
Hi Marcel,
On 16/02/2015 13:14, Marcel Ziswiler wrote:
> Basically finish what the following commit started a long time ago:
>
> 488f5d8790c451fc527fe5d2ef218f2a5e40ea17
>
> Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
> ---
> include/configs/balloon3.h | 1 -
> include/configs/flea3.h | 2 --
> include/configs/mx35pdk.h | 2 --
> include/configs/palmld.h | 1 -
> include/configs/palmtc.h | 1 -
> include/configs/palmtreo680.h | 1 -
> include/configs/snowball.h | 1 -
> include/configs/ti816x_evm.h | 1 -
> include/configs/u8500_href.h | 1 -
> include/configs/vexpress_common.h | 1 -
> include/configs/woodburn_common.h | 2 --
> include/configs/zipitz2.h | 1 -
> 12 files changed, 15 deletions(-)
>
> diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
> index 2f5a660..8dabc80 100644
For mx35pdk/woodburn:
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 18+ messages in thread
* [U-Boot] [RESEND PATCH 03/12] pxa: balloon3: remove nowhere used symbol CONFIG_SYS_MEM_BUF_IMP
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 01/12] pxa: fix wrong comment about vpac270 being the arch number Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 02/12] remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 04/12] pxa: balloon3: fix comment about sdram banks Marcel Ziswiler
` (9 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/balloon3.h | 1 -
include/configs/vpac270.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
index 8dabc80..f20a631 100644
--- a/include/configs/balloon3.h
+++ b/include/configs/balloon3.h
@@ -190,7 +190,6 @@
#define CONFIG_SYS_MDMRS_VAL 0x00220022
#define CONFIG_SYS_FLYCNFG_VAL 0x00000000
#define CONFIG_SYS_SXCNFG_VAL 0x00000000
-#define CONFIG_SYS_MEM_BUF_IMP 0x0f
/*
* PCMCIA and CF Interfaces
diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
index 2fb91a8..e54601d 100644
--- a/include/configs/vpac270.h
+++ b/include/configs/vpac270.h
@@ -297,7 +297,6 @@
#define CONFIG_SYS_MDMRS_VAL 0x00000000
#define CONFIG_SYS_FLYCNFG_VAL 0x00000000
#define CONFIG_SYS_SXCNFG_VAL 0x40044004
-#define CONFIG_SYS_MEM_BUF_IMP 0x0f
/*
* PCMCIA and CF Interfaces
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 04/12] pxa: balloon3: fix comment about sdram banks
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (2 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 03/12] pxa: balloon3: remove nowhere used symbol CONFIG_SYS_MEM_BUF_IMP Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 05/12] pxa: balloon3/colibri_pxa270: fix environment optionally being nowhere Marcel Ziswiler
` (8 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/balloon3.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
index f20a631..e7f0345 100644
--- a/include/configs/balloon3.h
+++ b/include/configs/balloon3.h
@@ -13,7 +13,7 @@
* High Level Board Configuration Options
*/
#define CONFIG_CPU_PXA27X 1 /* Marvell PXA270 CPU */
-#define CONFIG_BALLOON3 1 /* Balloon3 board */
+#define CONFIG_BALLOON3 1 /* Balloon3 board */
/*
* Environment settings
@@ -89,12 +89,12 @@
/*
* DRAM Map
*/
-#define CONFIG_NR_DRAM_BANKS 3 /* 2 banks of DRAM */
+#define CONFIG_NR_DRAM_BANKS 3 /* 3 banks of DRAM */
#define PHYS_SDRAM_1 0xa0000000 /* SDRAM Bank #1 */
#define PHYS_SDRAM_1_SIZE 0x08000000 /* 128 MB */
#define PHYS_SDRAM_2 0xb0000000 /* SDRAM Bank #2 */
#define PHYS_SDRAM_2_SIZE 0x08000000 /* 128 MB */
-#define PHYS_SDRAM_3 0x80000000 /* SDRAM Bank #2 */
+#define PHYS_SDRAM_3 0x80000000 /* SDRAM Bank #3 */
#define PHYS_SDRAM_3_SIZE 0x08000000 /* 128 MB */
#define CONFIG_SYS_DRAM_BASE 0xa0000000 /* CS0 */
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 05/12] pxa: balloon3/colibri_pxa270: fix environment optionally being nowhere
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (3 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 04/12] pxa: balloon3: fix comment about sdram banks Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 06/12] pxa: colibri_pxa270: migrate to generic board Marcel Ziswiler
` (7 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
I couldn't quite figure out whether or not CONFIG_SYS_ENV_IS_NOWHERE
actually ever worked but nowadays this is called CONFIG_ENV_IS_NOWHERE.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/balloon3.h | 2 +-
include/configs/colibri_pxa270.h | 2 +-
include/configs/vpac270.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
index e7f0345..848a158 100644
--- a/include/configs/balloon3.h
+++ b/include/configs/balloon3.h
@@ -134,7 +134,7 @@
#define CONFIG_ENV_IS_IN_FLASH
#else
#define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_NOWHERE
#endif
#define CONFIG_SYS_MONITOR_BASE 0x000000
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 08bd276..b8df89c 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -142,7 +142,7 @@
#else /* No flash */
#define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_NOWHERE
#endif
#define CONFIG_SYS_MONITOR_BASE 0x0
diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
index e54601d..887433b 100644
--- a/include/configs/vpac270.h
+++ b/include/configs/vpac270.h
@@ -221,7 +221,7 @@
#else /* No flash */
#define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_ENV_IS_NOWHERE
+#define CONFIG_ENV_IS_NOWHERE
#endif
/*
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 06/12] pxa: colibri_pxa270: migrate to generic board
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (4 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 05/12] pxa: balloon3/colibri_pxa270: fix environment optionally being nowhere Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-18 4:19 ` [U-Boot] [PATCH " Simon Glass
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 07/12] pxa: colibri_pxa270: disable loadb/s commands and long help Marcel Ziswiler
` (6 subsequent siblings)
12 siblings, 1 reply; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Migrate Toradex Colibri PXA270 to use CONFIG_SYS_GENERIC_BOARD.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
include/configs/colibri_pxa270.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index b8df89c..bb48419 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -2,6 +2,7 @@
* Toradex Colibri PXA270 configuration file
*
* Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
+ * Copyright (C) 2015 Marcel Ziswiler <marcel@ziswiler.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -13,6 +14,7 @@
* High Level Board Configuration Options
*/
#define CONFIG_CPU_PXA27X 1 /* Marvell PXA270 CPU */
+#define CONFIG_SYS_GENERIC_BOARD
#define CONFIG_SYS_TEXT_BASE 0x0
/*
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 07/12] pxa: colibri_pxa270: disable loadb/s commands and long help
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (5 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 06/12] pxa: colibri_pxa270: migrate to generic board Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 08/12] pxa: colibri_pxa270: avoid overwriting factory configuration block Marcel Ziswiler
` (5 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
To save more than 20 KB of precious space in NOR flash get rid of the
following configuration options:
CONFIG_CMD_LOADB
CONFIG_CMD_LOADS
CONFIG_SYS_LONGHELP
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index bb48419..c2714f7 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -52,6 +52,8 @@
*/
#include <config_cmd_default.h>
+#undef CONFIG_CMD_LOADB /* Both together */
+#undef CONFIG_CMD_LOADS /* saves 10 KB */
#define CONFIG_CMD_NET
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
@@ -84,7 +86,7 @@
*/
#define CONFIG_SYS_HUSH_PARSER 1
-#define CONFIG_SYS_LONGHELP
+#undef CONFIG_SYS_LONGHELP /* Saves 10 KB */
#ifdef CONFIG_SYS_HUSH_PARSER
#define CONFIG_SYS_PROMPT "$ "
#else
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 08/12] pxa: colibri_pxa270: avoid overwriting factory configuration block
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (6 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 07/12] pxa: colibri_pxa270: disable loadb/s commands and long help Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 09/12] pxa: colibri_pax270: fix CONFIG_BOOTCOMMAND Marcel Ziswiler
` (4 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Specify a CONFIG_BOARD_SIZE_LIMIT of 256 KB in order to avoid
overwriting the factory configuration block located at offset 0x40000
in NOR flash.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index c2714f7..1b1816a 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -7,8 +7,8 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#ifndef __CONFIG_H
-#define __CONFIG_H
+#ifndef __CONFIG_H
+#define __CONFIG_H
/*
* High Level Board Configuration Options
@@ -16,6 +16,8 @@
#define CONFIG_CPU_PXA27X 1 /* Marvell PXA270 CPU */
#define CONFIG_SYS_GENERIC_BOARD
#define CONFIG_SYS_TEXT_BASE 0x0
+/* Avoid overwriting factory configuration block */
+#define CONFIG_BOARD_SIZE_LIMIT 0x40000
/*
* Environment settings
@@ -100,7 +102,6 @@
#define CONFIG_CMDLINE_EDITING 1
#define CONFIG_AUTO_COMPLETE 1
-
/*
* Clock Configuration
*/
@@ -150,10 +151,11 @@
#endif
#define CONFIG_SYS_MONITOR_BASE 0x0
-#define CONFIG_SYS_MONITOR_LEN 0x80000
+#define CONFIG_SYS_MONITOR_LEN 0x40000
+/* Skip factory configuration block */
#define CONFIG_ENV_ADDR \
- (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
+ (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN + 0x40000)
#define CONFIG_ENV_SIZE 0x40000
#define CONFIG_ENV_SECT_SIZE 0x40000
#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)
@@ -219,4 +221,4 @@
#include "pxa-common.h"
-#endif /* __CONFIG_H */
+#endif /* __CONFIG_H */
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 09/12] pxa: colibri_pax270: fix CONFIG_BOOTCOMMAND
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (7 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 08/12] pxa: colibri_pxa270: avoid overwriting factory configuration block Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 10/12] pxa: colibri_pxa270: fix wrong comment about voipac ethernet chip Marcel Ziswiler
` (3 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
While 'mmc init' is no longer required the address to bootm the kernel
from NOR flash was wrong.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 1b1816a..07426d1 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -26,13 +26,13 @@
#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_BOOTCOMMAND \
- "if mmc init && fatload mmc 0 0xa0000000 uImage; then " \
+ "if fatload mmc 0 0xa0000000 uImage; then " \
"bootm 0xa0000000; " \
"fi; " \
"if usb reset && fatload usb 0 0xa0000000 uImage; then " \
"bootm 0xa0000000; " \
"fi; " \
- "bootm 0x80000;"
+ "bootm 0xc0000;"
#define CONFIG_BOOTARGS "console=tty0 console=ttyS0,115200"
#define CONFIG_TIMESTAMP
#define CONFIG_BOOTDELAY 2 /* Autoboot delay */
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 10/12] pxa: colibri_pxa270: fix wrong comment about voipac ethernet chip
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (8 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 09/12] pxa: colibri_pax270: fix CONFIG_BOOTCOMMAND Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 11/12] pxa: colibri_pxa270: remove CONFIG_ENV_ADDR_REDUND Marcel Ziswiler
` (2 subsequent siblings)
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 07426d1..28e57b5 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -65,7 +65,6 @@
/*
* Networking Configuration
- * chip on the Voipac PXA270 board
*/
#ifdef CONFIG_CMD_NET
#define CONFIG_CMD_PING
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 11/12] pxa: colibri_pxa270: remove CONFIG_ENV_ADDR_REDUND
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (9 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 10/12] pxa: colibri_pxa270: fix wrong comment about voipac ethernet chip Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 12/12] pxa: colibri_pxa270: integrate latest validated register settings Marcel Ziswiler
2015-03-02 10:01 ` [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marek Vasut
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Usually not required for NOR flash.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 28e57b5..ed0589a 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -157,8 +157,6 @@
(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN + 0x40000)
#define CONFIG_ENV_SIZE 0x40000
#define CONFIG_ENV_SECT_SIZE 0x40000
-#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)
-#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
/*
* GPIO settings
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 12/12] pxa: colibri_pxa270: integrate latest validated register settings
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (10 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 11/12] pxa: colibri_pxa270: remove CONFIG_ENV_ADDR_REDUND Marcel Ziswiler
@ 2015-02-28 23:53 ` Marcel Ziswiler
2015-03-02 10:01 ` [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marek Vasut
12 siblings, 0 replies; 18+ messages in thread
From: Marcel Ziswiler @ 2015-02-28 23:53 UTC (permalink / raw)
To: u-boot
Integrate latest validated register settings from Toradex WinCE BSP
4.2 working accross all module versions from early V1.x, V1.2D, V2.2B
to V2.4A.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
include/configs/colibri_pxa270.h | 48 ++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index ed0589a..7fc364e 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -163,7 +163,7 @@
*/
#define CONFIG_SYS_GPSR0_VAL 0x00000000
#define CONFIG_SYS_GPSR1_VAL 0x00020000
-#define CONFIG_SYS_GPSR2_VAL 0x0002C000
+#define CONFIG_SYS_GPSR2_VAL 0x0002c000
#define CONFIG_SYS_GPSR3_VAL 0x00000000
#define CONFIG_SYS_GPCR0_VAL 0x00000000
@@ -171,19 +171,19 @@
#define CONFIG_SYS_GPCR2_VAL 0x00000000
#define CONFIG_SYS_GPCR3_VAL 0x00000000
-#define CONFIG_SYS_GPDR0_VAL 0x08000000
-#define CONFIG_SYS_GPDR1_VAL 0x0002A981
-#define CONFIG_SYS_GPDR2_VAL 0x0202FC00
-#define CONFIG_SYS_GPDR3_VAL 0x00000000
+#define CONFIG_SYS_GPDR0_VAL 0xc8008000
+#define CONFIG_SYS_GPDR1_VAL 0xfc02a981
+#define CONFIG_SYS_GPDR2_VAL 0x92c3ffff
+#define CONFIG_SYS_GPDR3_VAL 0x0061e804
-#define CONFIG_SYS_GAFR0_L_VAL 0x00100000
-#define CONFIG_SYS_GAFR0_U_VAL 0x00C00010
-#define CONFIG_SYS_GAFR1_L_VAL 0x999A901A
-#define CONFIG_SYS_GAFR1_U_VAL 0xAAA00008
-#define CONFIG_SYS_GAFR2_L_VAL 0xAAAAAAAA
-#define CONFIG_SYS_GAFR2_U_VAL 0x0109A000
-#define CONFIG_SYS_GAFR3_L_VAL 0x54000300
-#define CONFIG_SYS_GAFR3_U_VAL 0x00024001
+#define CONFIG_SYS_GAFR0_L_VAL 0x80100000
+#define CONFIG_SYS_GAFR0_U_VAL 0xa5c00010
+#define CONFIG_SYS_GAFR1_L_VAL 0x6992901a
+#define CONFIG_SYS_GAFR1_U_VAL 0xaaa50008
+#define CONFIG_SYS_GAFR2_L_VAL 0xaaaaaaaa
+#define CONFIG_SYS_GAFR2_U_VAL 0x4109a002
+#define CONFIG_SYS_GAFR3_L_VAL 0x54000310
+#define CONFIG_SYS_GAFR3_U_VAL 0x00005401
#define CONFIG_SYS_PSSR_VAL 0x30
@@ -196,24 +196,24 @@
/*
* Memory settings
*/
-#define CONFIG_SYS_MSC0_VAL 0x000095f2
-#define CONFIG_SYS_MSC1_VAL 0x00007ff4
-#define CONFIG_SYS_MSC2_VAL 0x00000000
-#define CONFIG_SYS_MDCNFG_VAL 0x08000ac9
-#define CONFIG_SYS_MDREFR_VAL 0x2013e01e
-#define CONFIG_SYS_MDMRS_VAL 0x00320032
-#define CONFIG_SYS_FLYCNFG_VAL 0x00000000
+#define CONFIG_SYS_MSC0_VAL 0x9ee1c5f2
+#define CONFIG_SYS_MSC1_VAL 0x9ee1f994
+#define CONFIG_SYS_MSC2_VAL 0x9ee19ee1
+#define CONFIG_SYS_MDCNFG_VAL 0x090009c9
+#define CONFIG_SYS_MDREFR_VAL 0x2003a031
+#define CONFIG_SYS_MDMRS_VAL 0x00220022
+#define CONFIG_SYS_FLYCNFG_VAL 0x00010001
#define CONFIG_SYS_SXCNFG_VAL 0x40044004
/*
* PCMCIA and CF Interfaces
*/
-#define CONFIG_SYS_MECR_VAL 0x00000001
-#define CONFIG_SYS_MCMEM0_VAL 0x00014307
+#define CONFIG_SYS_MECR_VAL 0x00000000
+#define CONFIG_SYS_MCMEM0_VAL 0x00028307
#define CONFIG_SYS_MCMEM1_VAL 0x00014307
-#define CONFIG_SYS_MCATT0_VAL 0x0001c787
+#define CONFIG_SYS_MCATT0_VAL 0x00038787
#define CONFIG_SYS_MCATT1_VAL 0x0001c787
-#define CONFIG_SYS_MCIO0_VAL 0x0001430f
+#define CONFIG_SYS_MCIO0_VAL 0x0002830f
#define CONFIG_SYS_MCIO1_VAL 0x0001430f
#include "pxa-common.h"
--
1.9.3
^ permalink raw reply related [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270
2015-02-28 23:53 [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marcel Ziswiler
` (11 preceding siblings ...)
2015-02-28 23:53 ` [U-Boot] [RESEND PATCH 12/12] pxa: colibri_pxa270: integrate latest validated register settings Marcel Ziswiler
@ 2015-03-02 10:01 ` Marek Vasut
2015-03-02 12:15 ` Marcel Ziswiler
12 siblings, 1 reply; 18+ messages in thread
From: Marek Vasut @ 2015-03-02 10:01 UTC (permalink / raw)
To: u-boot
On Sunday, March 01, 2015 at 12:53:07 AM, Marcel Ziswiler wrote:
> The following is a set of various fixes mainly for PXA and the Toradex
> Colibri PXA270 introducing it to generic board to save it from becoming
> obsolete as those modules are still on sale for another 3 to 4 years.
>
> If I again do not get any feedback from Marek the current PXA CPU and
> Colibri PXA270 board maintainer may I ask Tom for help in getting this
> resolved?
Uh, sorry about that. Next time, please just poke me in case you don't
get reply in a reasonable amount of time.
Applied all, thanks!
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 18+ messages in thread* [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270
2015-03-02 10:01 ` [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270 Marek Vasut
@ 2015-03-02 12:15 ` Marcel Ziswiler
2015-03-02 12:30 ` Marek Vasut
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Ziswiler @ 2015-03-02 12:15 UTC (permalink / raw)
To: u-boot
On Mon, 2015-03-02 at 11:01 +0100, Marek Vasut wrote:
> Uh, sorry about that. Next time, please just poke me in case you don't
> get reply in a reasonable amount of time.
>
> Applied all, thanks!
No problem, I guess that's what RESENDs are for (;-p). Maybe it also had
to do with me initially using your gmail rather than denx email address.
BTW: I noticed PXA3xx support having been removed a while back which is
kind of sad considering our still shipping Colibri PXA3xx product line.
Do you know whether there are any plans to ever revive any of that? I
did notice that in Linux there is lately a push to migrating the PXAs to
using device-tree as well wondering what boot loader those folks are
using.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [U-Boot] [RESEND PATCH 00/12] various fixes mainly for pxa and colibri_pxa270
2015-03-02 12:15 ` Marcel Ziswiler
@ 2015-03-02 12:30 ` Marek Vasut
0 siblings, 0 replies; 18+ messages in thread
From: Marek Vasut @ 2015-03-02 12:30 UTC (permalink / raw)
To: u-boot
On Monday, March 02, 2015 at 01:15:59 PM, Marcel Ziswiler wrote:
> On Mon, 2015-03-02 at 11:01 +0100, Marek Vasut wrote:
> > Uh, sorry about that. Next time, please just poke me in case you don't
> > get reply in a reasonable amount of time.
> >
> > Applied all, thanks!
Hi!
> No problem, I guess that's what RESENDs are for (;-p). Maybe it also had
> to do with me initially using your gmail rather than denx email address.
Oh. You could have just sent an reply to the previous patches, no need to
explicitly repost them :)
> BTW: I noticed PXA3xx support having been removed a while back which is
> kind of sad considering our still shipping Colibri PXA3xx product line.
> Do you know whether there are any plans to ever revive any of that?
Yeah, I have a whole collection of those PXA3xx Colibris myself. I don't
plan to dig in the PXA3xx support though. In case you want to revive it,
please feel free to submit patches. I might also be able to give you some
pointers on how to implement the support, so feel free to ask.
> I did notice that in Linux there is lately a push to migrating the PXAs to
> using device-tree as well wondering what boot loader those folks are
> using.
Possibly an old version of U-Boot, which was hacked to support PXA3xx,
the one from openpxa ?
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 18+ messages in thread