Skip to contentSkip to conversation

igep00x0: Minor cleanups

PATCH New Ladislav Michl 1 participant 4 messages Jan 2, 2016

lore
Share & tools
lore
#0 lore raw

cover igep00x0: Minor cleanups

This patch serie was created as a side product while working on UBIizing NAND flash space to improve system reliability. It is safe to apply for current release to start with clean land for adding new features.

Ladislav Michl (4):
igep00x0: Cleanup ethernet support
igep00x0: Do not include config_distro_defaults.h
igep00x0: Fix config header indentation
igep00x0: Remove no-op macros from config header

 board/isee/igep00x0/igep00x0.c   |   33 +++++++++++++++++++--------------
 include/configs/omap3_igep00x0.h |   13 +++----------
 2 files changed, 22 insertions(+), 24 deletions(-)
#1 lore raw

PATCH 2/4 igep00x0: Do not include config_distro_defaults.h

File is already included:
omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h -> ti_armv7_common.h -> config_distro_defaults.h

---
 include/configs/omap3_igep00x0.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/omap3_igep00x0.h +0 -2
index cf2bc3e..16775e2 100644
@@ -85,8 +85,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 
-#include <config_distro_defaults.h>
-
 /* Environment */
 #define ENV_DEVICE_SETTINGS \
 	"stdin=serial\0" \
Signature · 1 line
2.1.4
#2 lore raw

PATCH 3/4 igep00x0: Fix config header intentation

In reply to Ladislav Michl
---
 include/configs/omap3_igep00x0.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/configs/omap3_igep00x0.h +3 -3
index 16775e2..bd1c038 100644
@@ -43,7 +43,7 @@
 #else
 #error "status LED not defined for this machine."
 #endif
-#define RED_LED_DEV				0
+#define RED_LED_DEV			0
 #define STATUS_LED_BIT			RED_LED_GPIO
 #define STATUS_LED_STATE		STATUS_LED_ON
 #define STATUS_LED_PERIOD		(CONFIG_SYS_HZ / 2)
@@ -56,7 +56,7 @@
 #define CONFIG_OMAP3_GPIO_6		/* GPIO160..191 is in GPIO bank 6 */
 
 /* USB */
-#define CONFIG_USB_MUSB_UDC			1
+#define CONFIG_USB_MUSB_UDC		1
 #define CONFIG_USB_OMAP3		1
 #define CONFIG_TWL4030_USB		1
 
@@ -136,7 +136,7 @@
 #if defined(CONFIG_CMD_NET)
 #define CONFIG_SMC911X
 #define CONFIG_SMC911X_32_BIT
-#define CONFIG_SMC911X_BASE	0x2C000000
+#define CONFIG_SMC911X_BASE		0x2C000000
 #endif /* (CONFIG_CMD_NET) */
 
 /* OneNAND boot config */
Signature · 1 line
2.1.4
#3 lore raw

PATCH 4/4 igep00x0: Remove no-op macros from config header

In reply to Ladislav Michl
---
 include/configs/omap3_igep00x0.h | 5 -----
 1 file changed, 5 deletions(-)
include/configs/omap3_igep00x0.h +0 -5
index bd1c038..5da6cfd 100644
@@ -75,14 +75,9 @@
 #ifdef CONFIG_BOOT_ONENAND
 #define CONFIG_CMD_ONENAND	/* ONENAND support		*/
 #endif
-#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020) || \
-    (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
-#endif
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_PING
 
-/*#undef CONFIG_ENV_IS_NOWHERE*/
-
 #ifndef CONFIG_SPL_BUILD
 
 /* Environment */
Signature · 1 line
2.1.4