Skip to contentSkip to conversation

omap3: fix NAND support for mcx board

PATCH New Stefano Babic 2 participants 9 messages Jul 26, 2015 – Aug 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 omap3: fix NAND support for mcx board

mcx was not updated according to changes in
NAND driver.

---
 include/configs/mcx.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mcx.h +3 -0
index 0a7b7cf..8a2005d 100644
@@ -309,7 +309,10 @@
  */
 
 /* **** PISMO SUPPORT *** */
+#define CONFIG_NAND
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_NAND_OMAP_GPMC
+#define CONFIG_NAND_OMAP_GPMC_PREFETCH
 #define CONFIG_ENV_IS_IN_NAND
 #define SMNAND_ENV_OFFSET		0x180000 /* environment starts here */
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 2/3 mcx: add Ethernet over USB

---
 include/configs/mcx.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/mcx.h +3 -0
index 8a2005d..0b26404 100644
@@ -111,6 +111,9 @@
 #define CONFIG_USB_ULPI_VIEWPORT_OMAP
 #define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	57
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
+#define	CONFIG_USB_HOST_ETHER
+#define	CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 
 /* commands to include */
 #define CONFIG_CMD_EXT2		/* EXT2 Support			*/
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 2/3 mcx: add Ethernet over USB

Quoted 1 line · Stefano Babic
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150727/8d3b8e3d/attachment.sig>
#3 lore raw

PATCH v2 2/3 mcx: add Ethernet over USB

In reply to Stefano Babic
Quoted 2 lines · Stefano Babic

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/91e48f20/attachment.sig>
#4 lore raw

PATCH v2 3/3 ti: drop value from CONFIG_SYS_NAND_BUSWIDTH_16BIT

In reply to Stefano Babic
---
 include/configs/am3517_crane.h     | 2 +-
 include/configs/devkit8000.h       | 2 +-
 include/configs/dig297.h           | 2 +-
 include/configs/omap3_beagle.h     | 2 +-
 include/configs/omap3_evm_common.h | 2 +-
 include/configs/omap3_igep00x0.h   | 2 +-
 include/configs/omap3_logic.h      | 2 +-
 include/configs/omap3_overo.h      | 2 +-
 include/configs/omap3_pandora.h    | 2 +-
 include/configs/omap3_zoom1.h      | 2 +-
 include/configs/tam3517-common.h   | 2 +-
 include/configs/tao3530.h          | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)
include/configs/am3517_crane.h +1 -1
index 6a0240b..f013d02 100644
@@ -318,7 +318,7 @@
 #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 /* NAND boot config */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
include/configs/devkit8000.h +1 -1
index 215dc30..6d2c22e 100644
@@ -213,7 +213,7 @@
 #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
 
 /* NAND boot config */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
include/configs/dig297.h +1 -1
index f6d7ec4..2e16ca7 100644
@@ -132,7 +132,7 @@
  * Board NAND Info.
  */
 #define CONFIG_NAND_OMAP_GPMC
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
include/configs/omap3_beagle.h +1 -1
index e574742..36f1ad7 100644
@@ -295,7 +295,7 @@
 #define CONFIG_SPL_OMAP3_ID_NAND
 
 /* NAND boot config */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
include/configs/omap3_evm_common.h +1 -1
index 370f21e..8a45b33 100644
@@ -120,7 +120,7 @@
 
 /* Max number of NAND devices */
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 /* Timeout values (in ticks) */
 #define CONFIG_SYS_FLASH_ERASE_TOUT	(100 * CONFIG_SYS_HZ)
 #define CONFIG_SYS_FLASH_WRITE_TOUT	(100 * CONFIG_SYS_HZ)
include/configs/omap3_igep00x0.h +1 -1
index 89ec73c..8789928 100644
@@ -193,7 +193,7 @@
 
 /* NAND boot config */
 #ifdef CONFIG_NAND
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
include/configs/omap3_logic.h +1 -1
index af6ae73..7457324 100644
@@ -135,7 +135,7 @@
 
 #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of */
 							/* NAND devices */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_JFFS2_NAND
 /* nand device jffs2 lives on */
 #define CONFIG_JFFS2_DEV		"nand0"
include/configs/omap3_overo.h +1 -1
index 76bf3b6..6286b10 100644
@@ -227,7 +227,7 @@
 #define CONFIG_SYS_CACHELINE_SIZE	64
 
 /* NAND boot config */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_MAX_ECCPOS  56
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
include/configs/omap3_pandora.h +1 -1
index 49467c9..26adfba 100644
@@ -64,7 +64,7 @@
  */
 #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
 							/* to access nand */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_HAM1_CODE_SW
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64
include/configs/omap3_zoom1.h +1 -1
index d90cc42..3dcea61 100644
@@ -97,7 +97,7 @@
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
 							/* to access nand at */
 							/* CS0 */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 
 /* Environment information */
 
include/configs/tam3517-common.h +1 -1
index 34f1228..801220a 100644
@@ -241,7 +241,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
 /* NAND boot config */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64
include/configs/tao3530.h +1 -1
index c8ec79b..3eacfa7 100644
@@ -136,7 +136,7 @@
 
 #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of NAND */
 							/* devices */
-#define CONFIG_SYS_NAND_BUSWIDTH_16BIT	16
+#define CONFIG_SYS_NAND_BUSWIDTH_16BIT
 /* Environment information */
 #define CONFIG_BOOTDELAY		3
 
Signature · 1 line
1.9.1
#5 lore raw

PATCH v2 3/3 ti: drop value from CONFIG_SYS_NAND_BUSWIDTH_16BIT

Quoted 1 line · Stefano Babic
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150727/ff9f756e/attachment.sig>
#6 lore raw

PATCH v2 3/3 ti: drop value from CONFIG_SYS_NAND_BUSWIDTH_16BIT

In reply to Stefano Babic
Quoted 2 lines · Stefano Babic

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/4cdf105b/attachment.sig>
#7 lore raw

PATCH v2 1/3 omap3: fix NAND support for mcx board

In reply to Stefano Babic
Quoted 4 lines · Stefano Babic

mcx was not updated according to changes in
NAND driver.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150727/4bb61a50/attachment.sig>
#8 lore raw

PATCH v2 1/3 omap3: fix NAND support for mcx board

In reply to Stefano Babic
Quoted 5 lines · Stefano Babic

mcx was not updated according to changes in
NAND driver.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/1c342fca/attachment.sig>