From e93a693d4966fd6779f02a1b447814424918b88d Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:25 -0300 Subject: mx6sxsabresd: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam --- include/configs/mx6sxsabresd.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index a2901294a63..a29d62f023a 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -134,8 +134,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024 -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 256 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From 9b686f3029d3c2d893a2b890d17709006c0a457f Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:26 -0300 Subject: mx6slevk: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Jason Liu Signed-off-by: Fabio Estevam Acked-by: Jason Liu --- include/configs/mx6slevk.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 122141846e5..21c654b6b12 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -169,8 +169,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From ad970756208864de4b353b77bfb04c0fb4fc5ab5 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:27 -0300 Subject: mx6qarm2: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Jason Liu Signed-off-by: Fabio Estevam Acked-by: Jason Liu --- include/configs/mx6qarm2.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 76cfef123cd..5412dd3c51d 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -153,8 +153,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From bc37d52afeb431feda70381f927b88bd13283fe4 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:28 -0300 Subject: mx53loco: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Jason Liu Signed-off-by: Fabio Estevam Acked-by: Jason Liu --- include/configs/mx53loco.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 8d8b93cca5b..8f92234471d 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -184,8 +184,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */ -- cgit v1.3.1 From 8afe832abd25ac02bb3b3046acb14306a634fbf0 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:29 -0300 Subject: mx51evk: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- include/configs/mx51evk.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index d6e8ec4e13e..b0c97171ed7 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -222,8 +222,6 @@ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */ -- cgit v1.3.1 From 9cf38bf71d1ebb45c55a0d9b466cef689881cb90 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:30 -0300 Subject: mx35pdk: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- include/configs/mx35pdk.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index 603d17cef69..09d55ce9b83 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -138,8 +138,6 @@ #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */ -- cgit v1.3.1 From ba1a10796316a5b81c1c91663148fc7da5843e3a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:31 -0300 Subject: mx31pdk: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Magnus Lilja Signed-off-by: Fabio Estevam Acked-by: Magnus Lilja --- include/configs/mx31pdk.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 2a3e53c7928..1282a6e77e3 100644 --- a/include/configs/mx31pdk.h +++ b/include/configs/mx31pdk.h @@ -121,9 +121,6 @@ */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ - sizeof(CONFIG_SYS_PROMPT)+16) /* max number of command args */ #define CONFIG_SYS_MAXARGS 16 /* Boot Argument Buffer Size */ -- cgit v1.3.1 From 31188d873e75557ed98d9584fe04a5cb99828972 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:32 -0300 Subject: mx25pdk: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index c02e29be9ad..bfbfc68a136 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -229,8 +229,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From e7a2e7d07e8eeac8fd464a9daeaa7d641cb9b144 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:33 -0300 Subject: mxs: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Marek Vasut Signed-off-by: Fabio Estevam Acked-by: Marek Vasut --- include/configs/mxs.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/mxs.h b/include/configs/mxs.h index dea8227aeb7..38b1e9377c3 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -94,9 +94,6 @@ /* U-Boot general configuration */ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */ -#define CONFIG_SYS_PBSIZE \ - (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) - /* Print buffer size */ #define CONFIG_SYS_MAXARGS 32 /* Max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot argument buffer size */ -- cgit v1.3.1 From f90f480ed248c8a2f1b11d5835b25171c9c24929 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:34 -0300 Subject: wandboard: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam --- include/configs/wandboard.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index 117d1f7087a..b586803916c 100644 --- a/include/configs/wandboard.h +++ b/include/configs/wandboard.h @@ -249,9 +249,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From 161c6559195b0ceec93b5384b2d1b4e2db268933 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:35 -0300 Subject: hummingboard: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Signed-off-by: Fabio Estevam --- include/configs/hummingboard.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/hummingboard.h b/include/configs/hummingboard.h index 34dbdce1a6c..973f2c5d073 100644 --- a/include/configs/hummingboard.h +++ b/include/configs/hummingboard.h @@ -185,9 +185,6 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From f30f50987a3f9c45c0d580a996d267e7e9688763 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:36 -0300 Subject: nitrogen6x: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Eric Nelson Signed-off-by: Fabio Estevam --- include/configs/nitrogen6x.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index 6d379ed7ad3..8ef4b733ca4 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -325,9 +325,6 @@ #define CONFIG_SYS_PROMPT "U-Boot > " #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 1024 - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 48 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From 0e26afe5ce03fffca8d665a9c511173a946ff233 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:37 -0300 Subject: warp: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Otavio Salvador Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador --- include/configs/warp.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/warp.h b/include/configs/warp.h index bcdd1125f98..aa3115b51d4 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -81,9 +81,6 @@ #define CONFIG_HW_WATCHDOG #define CONFIG_IMX_WATCHDOG #define CONFIG_WATCHDOG_TIMEOUT_MSECS 30000 /* 30s */ - -/* Print Buffer Size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -- cgit v1.3.1 From 1f62482eed73108ed602b80ed462c26043a35235 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 14:14:38 -0300 Subject: novena: Use the default CONFIG_SYS_PBSIZE Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve this problem. Cc: Marek Vasut Signed-off-by: Fabio Estevam Acked-by: Marek Vasut --- include/configs/novena.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/novena.h b/include/configs/novena.h index 074110c9395..3809c6c59b3 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -58,9 +58,6 @@ /* U-Boot general configurations */ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */ -#define CONFIG_SYS_PBSIZE \ - (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) - /* Print buffer size */ #define CONFIG_SYS_MAXARGS 32 /* Max number of command args */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot argument buffer size */ -- cgit v1.3.1 From 97ee459033f42e41be732a4baba06db7ba6e95e1 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 2 Mar 2015 10:17:17 -0300 Subject: warp: Add Device Firmware Upgrade support Device Firmware Upgrade (DFU) is a very convenient mechanism to upgrade U-boot on the eMMC. Add support for it. Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador --- include/configs/warp.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/warp.h b/include/configs/warp.h index aa3115b51d4..e851da00133 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -28,7 +28,7 @@ #define CONFIG_REVISION_TAG /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) +#define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M) /* Increase due to DFU */ #define CONFIG_BOARD_EARLY_INIT_F #define CONFIG_BOARD_LATE_INIT @@ -147,6 +147,12 @@ #define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 #define CONFIG_G_DNL_MANUFACTURER "FSL" +#define CONFIG_CMD_DFU +#define CONFIG_DFU_FUNCTION +#define CONFIG_DFU_MMC +#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M +#define DFU_DEFAULT_POLL_TIMEOUT 300 + #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \ @@ -161,6 +167,7 @@ "mmcdev=0\0" \ "mmcpart=1\0" \ "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ + "dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=${mmcroot}\0" \ "loadbootscript=" \ -- cgit v1.3.1 From 4bf83961b84d5cf51af9dd7b362c9ed416b33bbe Mon Sep 17 00:00:00 2001 From: "maxin.john@enea.com" Date: Tue, 3 Mar 2015 15:48:41 +0100 Subject: mx6sabre_common.h: remove deprecated mmc open/close Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d cmd_mmc.c: Drop open/close mmc sub-commands Signed-off-by: Maxin B. John Acked-by: Otavio Salvador --- include/configs/mx6sabre_common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index f0e37f0ca6d..cbd9a6cd15a 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -111,12 +111,10 @@ "setenv get_cmd tftp; " \ "fi; " \ "if ${get_cmd} ${update_sd_firmware_filename}; then " \ - "if mmc dev ${emmcdev} && " \ - "mmc open ${emmcdev} 1; then " \ + "if mmc dev ${emmcdev} 1; then " \ "setexpr fw_sz ${filesize} / 0x200; " \ "setexpr fw_sz ${fw_sz} + 1; " \ "mmc write ${loadaddr} 0x2 ${fw_sz}; " \ - "mmc close ${emmcdev} 1; " \ "fi; " \ "fi\0" #else -- cgit v1.3.1 From fa481a83189a6a5d60264b476a6177e659f23146 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 9 Mar 2015 12:49:56 -0300 Subject: mx53ard: Use the standard U-boot prompt By not defining CONFIG_SYS_PROMPT, the standard "=>" prompt is used, so remove its definition. Signed-off-by: Fabio Estevam --- include/configs/mx53ard.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index 134d6804bcf..9b003fc4e6d 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -186,7 +186,6 @@ /* Miscellaneous configurable options */ #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ -#define CONFIG_SYS_PROMPT "MX53ARD U-Boot > " #define CONFIG_AUTO_COMPLETE #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -- cgit v1.3.1 From 06ca28eb3610a779619a57957df334f46c3ebe21 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Wed, 11 Mar 2015 22:52:14 -0300 Subject: mx6_common: Do not select esdhc DDR mode for all boards CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that really have a DDR-capable eMMC, so remove this option from common code to avoid regressions. Reported-by: Stefan Roese Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador Reviewed-by: Volodymyr Riazantsev Tested-by: Stefan Roese --- include/configs/mx6_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 29b72b2e9dd..e0528ce4b92 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -28,8 +28,6 @@ #define CONFIG_SYS_PL310_BASE L2_PL310_BASE #endif -#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE - #define CONFIG_MP #define CONFIG_MXC_GPT_HCLK -- cgit v1.3.1 From ed914302c7fc3bed1cf40bac584f9f6c8b49dc8b Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Wed, 11 Mar 2015 22:52:15 -0300 Subject: warp: Select CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE Warp has a DDR eMMC, so enable CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE for better performance: reading zImage 5790288 bytes read in 117 ms (47.2 MiB/s) Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador --- include/configs/warp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/configs/warp.h b/include/configs/warp.h index e851da00133..2eb429e5ddd 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -42,6 +42,7 @@ #define CONFIG_FSL_USDHC #define CONFIG_SYS_FSL_ESDHC_ADDR 0 #define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT +#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE #define CONFIG_MMC #define CONFIG_CMD_MMC -- cgit v1.3.1 From d5eb6dcf44f5c889dd80c81cf3b06385a27f8baf Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 9 Mar 2015 18:44:39 -0300 Subject: mx6sabre: Do not enable UMS with SPL Since commit ad8aae82b20ac6a ("mx6sabre: Enable User Mass Storage") SPL target does not boot anymore due to the increased spl image size. Only enable USB Mass Storage for the non-SPL target. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini --- include/configs/mx6sabre_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index cbd9a6cd15a..b72522bf522 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -276,6 +276,7 @@ #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP +#ifndef CONFIG_SPL #define CONFIG_CI_UDC #define CONFIG_USBD_HS #define CONFIG_USB_GADGET_DUALSPEED @@ -289,5 +290,6 @@ #define CONFIG_G_DNL_VENDOR_NUM 0x0525 #define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 #define CONFIG_G_DNL_MANUFACTURER "FSL" +#endif #endif /* __MX6QSABRE_COMMON_CONFIG_H */ -- cgit v1.3.1