OMAP3: add missing gpio clock init and fix NAND SPL for mcx board
PATCH 1/3 OMAP3: add missing gpio clock init and fix NAND SPL for mcx board
Patch contains the same fixes as commit 4b9b2c300a23ca4a85811918dc92e822a9571a87
(missing CONFIG_OMAP3_GPIO_2) and commit f9095aac793aa8917ab9b915c5d449e6dc8d3d30 (missing CONFIG_SPL_NAND_SOFTECC). Same issues are relevant for the mcx board, too.
---
include/configs/mcx.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/mcx.h +2 -0
@@ -98,6 +98,7 @@/* EHCI */ #define CONFIG_USB_STORAGE +#define CONFIG_OMAP3_GPIO_2 #define CONFIG_OMAP3_GPIO_5 #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_OMAP
@@ -395,6 +396,7 @@#define CONFIG_SYS_NAND_ECCSIZE 256#define CONFIG_SYS_NAND_ECCBYTES 3#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_SW +#define CONFIG_SPL_NAND_SOFTECC #define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
Signature · 1 line
1.7.9.5
PATCH 2/3 omap3: fix pinmux for mcx board
New hardware version cannot recognize the SD-Card because the SYS_NRESWARM, set as GPIO, does not guarantee the required reset time.
Change the pin function back to enable the SYS_NRESWARM signal driven by the SOC.
---
board/htkw/mcx/mcx.h | 2 -- 1 file changed, 2 deletions(-)
board/htkw/mcx/mcx.h +0 -2
@@ -325,8 +325,6 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(SYS_32K), (IEN | PTD | EN | M4)) \ MUX_VAL(CP(SYS_CLKREQ), (IEN | PTD | DIS | M0)) \ MUX_VAL(CP(SYS_NIRQ), (IEN | PTD | EN | M4)) \ -MUX_VAL (CP (SYS_NRESWARM ), (IEN |PTU |DIS |M4 )) \ - /* SYS_nRESWARM */\ MUX_VAL(CP(SYS_BOOT0), (IEN | PTD | DIS | M4)) \ MUX_VAL(CP(SYS_BOOT1), (IEN | PTD | DIS | M4)) \MUX_VAL (CP (SYS_BOOT2 ), (IEN |PTD |DIS |M4 )) \
Signature · 1 line
1.7.9.5
PATCH 2/3 omap3: fix pinmux for mcx board
Quoted 7 lines · Stefano Babic
New hardware version cannot recognize the SD-Card because the
SYS_NRESWARM, set as GPIO, does not guarantee the required reset time.
Change the pin function back to enable theSYS_NRESWARMsignal driven by the SOC.Signed-off-by Stefano Babic <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/6fc65473/attachment.pgp>
PATCH 3/3 OMAP3: fix default environment for mcx board
In reply to Stefano BabicPatch allows to load a script at the startup from MMC.
---
include/configs/mcx.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
include/configs/mcx.h +3 -4
@@ -264,10 +264,9 @@"${mtdparts} " \"vram=6M omapfb.vram=1:2M,2:2M,3:2M " \"omapdss.def_disp=lcd;" \ - "bootm 0x82000000 0x84000000\0" - -#define CONFIG_BOOTCOMMAND \ - "run nandboot" +"bootm 0x82000000 0x84000000\0" \ +"bootcmd=mmc rescan;if fatload mmc 0 82000000 loadbootscr.scr;" \ + "then source 82000000;else run nandboot;fi\0"#define CONFIG_AUTO_COMPLETE #define CONFIG_CMDLINE_EDITING
Signature · 1 line
1.7.9.5
PATCH 3/3 OMAP3: fix default environment for mcx board
Quoted 3 lines · Stefano Babic
Patch allows to load a script at the startup from MMC.
Signed-off-by Stefano Babic <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/04036440/attachment.pgp>
PATCH 1/3 OMAP3: add missing gpio clock init and fix NAND SPL for mcx board
In reply to Stefano BabicQuoted 7 lines · Stefano Babic
Patch contains the same fixes as commit
4b9b2c300a23ca4a85811918dc92e822a9571a87
(missingCONFIG_OMAP3_GPIO_2) and commitf9095aac793aa8917ab9b915c5d449e6dc8d3d30(missingCONFIG_SPL_NAND_SOFTECC). Same issues are relevant for the mcx board, too.Signed-off-by Stefano Babic <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/72deb600/attachment.pgp>