Skip to contentSkip to conversation

Update the RRvision port.

PATCH RESEND New Gary Jennejohn 2 participants 2 messages Jun 23, 2008 – Jul 6, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Update the RRvision port.

---
 Makefile                     |  124 ++++++++++++++++++++-
 board/RRvision/Makefile      |    4 +-
 board/RRvision/RRvision.c    |    9 +-
 cpu/mpc8xx/cpu_init.c        |    4 +-
 cpu/mpc8xx/fec.c             |    8 ++
 include/configs/RRvision.h   |  256 +++++++++++++++++++++++++++---------------
 include/configs/TTTech_env.h |   97 ++++++++++++++++
 tools/Makefile               |   16 +++
 8 files changed, 417 insertions(+), 101 deletions(-)
 create mode 100644 include/configs/TTTech_env.h
Makefile +122 -4
index 8bfc891..cbdfbda 100644
@@ -1052,10 +1052,128 @@ rmu_config:	unconfig
 RRvision_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
 
-RRvision_LCD_config:	unconfig
-	@mkdir -p $(obj)include
-	@echo "#define CONFIG_LCD" >$(obj)include/config.h
-	@echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
+RRvision_BIGMEM_config					\
+RRvision_BIGMEM_prodtest_config				\
+RRvision_codesys_config					\
+RRvision_codesys_prodtest_config			\
+RRvision_prodtest_config				\
+RRvision_LCD104_config					\
+RRvision_LCD104V1DG61_config				\
+RRvision_LCD5_config					\
+RRvision_LCD65_config					\
+RRvision_LCD7_config					\
+RRvision_LCD7AUO_config					\
+RRvision_LCDUMSH_config					\
+RRvision_LCD_NL8060BC26_config				\
+RRvision_LCD_PM070WL3_config				\
+RRvision_LCD104_codesys_config				\
+RRvision_LCD104V1DG61_codesys_config			\
+RRvision_LCD104V7DS01_codesys_config			\
+RRvision_LCD5_codesys_config				\
+RRvision_LCD65_codesys_config				\
+RRvision_LCD7_codesys_config				\
+RRvision_LCD7AUO_codesys_config				\
+RRvision_LCDUMSH_codesys_config				\
+RRvision_LCD_NL8060BC26_codesys_config			\
+RRvision_LCD_PM070WL3_codesys_config			\
+RRvision_LCD104_BIGMEM_config				\
+RRvision_LCD104V1DG61_BIGMEM_config			\
+RRvision_LCD104V7DS01_BIGMEM_config			\
+RRvision_LCD5_BIGMEM_config				\
+RRvision_LCD65_BIGMEM_config				\
+RRvision_LCD7_BIGMEM_config				\
+RRvision_LCD7AUO_BIGMEM_config				\
+RRvision_LCDUMSH_BIGMEM_config				\
+RRvision_LCD_NL8060BC26_BIGMEM_config			\
+RRvision_LCD_PM070WL3_BIGMEM_config			\
+RRvision_LCD104_prodtest_config				\
+RRvision_LCD104V1DG61_prodtest_config			\
+RRvision_LCD104V7DS01_prodtest_config			\
+RRvision_LCD5_prodtest_config				\
+RRvision_LCD65_prodtest_config				\
+RRvision_LCD7_prodtest_config				\
+RRvision_LCD7AUO_prodtest_config			\
+RRvision_LCDUMSH_prodtest_config			\
+RRvision_LCD_NL8060BC26_prodtest_config			\
+RRvision_LCD_PM070WL3_prodtest_config			\
+RRvision_LCD104_codesys_prodtest_config			\
+RRvision_LCD104V1DG61_codesys_prodtest_config		\
+RRvision_LCD104V7DS01_codesys_prodtest_config		\
+RRvision_LCD5_codesys_prodtest_config			\
+RRvision_LCD65_codesys_prodtest_config			\
+RRvision_LCD7_codesys_prodtest_config			\
+RRvision_LCD7AUO_codesys_prodtest_config		\
+RRvision_LCDUMSH_codesys_prodtest_config		\
+RRvision_LCD_NL8060BC26__codesys_prodtest_config	\
+RRvision_LCD_PM070WL3_codesys_prodtest_config		\
+RRvision_LCD104_BIGMEM_prodtest_config			\
+RRvision_LCD104V1DG61_BIGMEM_prodtest_config		\
+RRvision_LCD104V7DS01_BIGMEM_prodtest_config		\
+RRvision_LCD5_BIGMEM_prodtest_config			\
+RRvision_LCD65_BIGMEM_prodtest_config			\
+RRvision_LCD7_BIGMEM_prodtest_config			\
+RRvision_LCD7AUO_BIGMEM_prodtest_config			\
+RRvision_LCD_NL8060BC26_BIGMEM_prodtest_config		\
+RRvision_LCD_PM070WL3_BIGMEM_prodtest_config		\
+RRvision_LCD104V7DS01_config	:	unconfig
+	@mkdir -p $(obj)include
+	@[ -z "$(findstring _BIGMEM,$@)" ] || \
+		{ echo "#define CONFIG_TTTECH_BIGMEM" >>$(obj)include/config.h; \
+		  $(XECHO) "... with BIGMEM ..."; \
+		}
+	@[ -z "$(findstring _prodtest,$@)" ] || \
+		{ echo "#define CONFIG_PRODTEST" >>$(obj)include/config.h; \
+		  $(XECHO) "... with prodtest ..."; \
+		}
+	@[ -z "$(findstring _codesys,$@)" ] || \
+		{ echo "#define CONFIG_CODESYS" >>$(obj)include/config.h; \
+		  $(XECHO) "... with codesys ..."; \
+		}
+	@[ -z "$(findstring _LCD,$@)" ] || \
+		{ echo "#define CONFIG_LCD" >>$(obj)include/config.h; \
+		  $(XECHO) "... with LCD display ..."; \
+		}
+	@[ -z "$(findstring 104_,$@)" ] || \
+		{ echo "#define CONFIG_HLD1045" >>$(obj)include/config.h; \
+		  $(XECHO) "... with HLD1045 LCD display ...";  \
+		}
+	@[ -z "$(findstring 104V1DG61_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ104V1DG61" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ1041DG61 LCD display ...";  \
+		}
+	@[ -z "$(findstring 104V7DS01_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ104V7DS01 LCD display ...";  \
+		}
+	@[ -z "$(findstring CD5_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ050Q5DR01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ050Q5DR01 LCD display ...";  \
+		}
+	@[ -z "$(findstring CD65_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ065T9DR51U LCD display ...";  \
+		}
+	@[ -z "$(findstring CD7_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ070Q5TR01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ070Q5TR01 LCD display ...";  \
+		}
+	@[ -z "$(findstring 7AUO_,$@)" ] || \
+		{ echo "#define CONFIG_AUO_T070W1D1" >>$(obj)include/config.h; \
+		  $(XECHO) "... with AUO T070W1D1 LCD display ...";  \
+		}
+	@[ -z "$(findstring NL8060BC26_,$@)" ] || \
+		{ echo "#define CONFIG_NEC_NL8060BC26" >>$(obj)include/config.h; \
+		  $(XECHO) "... with NEC NL8060BC26 LCD display ...";  \
+		}
+	@[ -z "$(findstring PM070WL3_,$@)" ] || \
+		{ echo "#define CONFIG_PM070WL3" >>$(obj)include/config.h; \
+		  $(XECHO) "... with PM070WL3 LCD display ...";  \
+		}
+	@[ -z "$(findstring UMSH_,$@)" ] || \
+		{ echo "#define CONFIG_UMSH_7189JD1F" >>$(obj)include/config.h; \
+		  echo "#define LCD_BPP LCD_MONOCHROME" >>$(obj)include/config.h; \
+		  $(XECHO) "... with UMSH LCD display ...";  \
+		}
 	@$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
 
 SM850_config	:	unconfig
board/RRvision/Makefile +2 -2
index cf07cf4..b6f0efc 100644
@@ -1,5 +1,5 @@
 #
-# (C) Copyright 2000-2006
+# (C) Copyright 2000-2008
 # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
 #
 # See file CREDITS for list of people who contributed to this
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(BOARD).a
 
-COBJS	= $(BOARD).o flash.o
+COBJS	= $(BOARD).o
 
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
board/RRvision/RRvision.c +4 -5
index c0b772d..e0f422d 100644
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2001-2002
+ * (C) Copyright 2001-2008
  * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
  *
  * See file CREDITS for list of people who contributed to this
@@ -198,11 +198,10 @@ phys_size_t initdram (int board_type)
 	memctl->memc_br1 = (CFG_SDRAM_BASE & BR_BA_MSK) | BR_MS_UPMA | BR_V;
 
 	/*
-	 * No bank 1
-	 *
-	 * invalidate bank
+	 * Mapping C2/C2NF Chip (TTTech Computertechnik AG)
 	 */
-	memctl->memc_br3 = 0;
+	memctl->memc_or3 = CFG_OR3_C2;
+	memctl->memc_br3 = CFG_BR3_C2;
 
 	/* adjust refresh rate depending on SDRAM type, one bank */
 	reg = memctl->memc_mptpr;
cpu/mpc8xx/cpu_init.c +2 -2
index fb3414a..3250707 100644
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2000-2002
+ * (C) Copyright 2000-2008
  * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
  *
  * See file CREDITS for list of people who contributed to this
@@ -62,7 +62,7 @@ void cpu_init_f (volatile immap_t * immr)
 #endif /* CONFIG_WATCHDOG */
 
 	/* SIUMCR - contains debug pin configuration (11-6) */
-#ifndef CONFIG_SVM_SC8xx
+#if !defined (CONFIG_SVM_SC8xx) && !defined (CONFIG_RRVISION)
 	immr->im_siu_conf.sc_siumcr |= CFG_SIUMCR;
 #else
 	immr->im_siu_conf.sc_siumcr = CFG_SIUMCR;
cpu/mpc8xx/fec.c +8 -0
index 37eb481..31d0e1c 100644
@@ -837,6 +837,8 @@ static void fec_halt(struct eth_device* dev)
 #define PHY_ID_LSI80225B	0x0016f880	/* LSI 80225/B */
 #define PHY_ID_DM9161		0x0181B880	/* Davicom DM9161 */
 #define PHY_ID_KSM8995M		0x00221450	/* MICREL KS8995MA */
+#define PHY_ID_DP83846A		0x20005c20	/* NatSemi DP83846A */
+#define PHY_ID_DP83847		0x20005c30	/* NatSemi DP83847 */
 
 /* send command to phy using mii, wait for result */
 static uint
@@ -924,6 +926,12 @@ static int mii_discover_phy(struct eth_device *dev)
 				case PHY_ID_KSM8995M:
 					printf("MICREL KS8995M\n");
 					break;
+				case PHY_ID_DP83846A:
+					printf("NatSemi DP83846A\n");
+					break;
+				case PHY_ID_DP83847:
+					printf("NatSemi DP83847\n");
+					break;
 				default:
 					printf("0x%08x\n", phytype);
 					break;
include/configs/RRvision.h +167 -89

413 lines not on this page · raw message

include/configs/TTTech_env.h new file +97 -0

97 lines not on this page · raw message

tools/Makefile +16 -0
index 8533a8e..68f7e3b 100644
@@ -41,6 +41,22 @@ LIBFDT_OBJ_FILES	= $(obj)fdt.o $(obj)fdt_ro.o $(obj)fdt_rw.o $(obj)fdt_strerror.
 
 LOGO_H	= $(OBJTREE)/include/bmp_logo.h
 
+ifeq ($(LOGO),palfin)
+LOGO_BMP= logos/linux_logo_ttcontrol_palfin.bmp
+endif
+ifeq ($(LOGO),ttcontrol)
+LOGO_BMP= logos/linux_logo_ttcontrol.bmp
+endif
+ifeq ($(LOGO),patria)
+LOGO_BMP= logos/linux_logo_ttcontrol_patria.bmp
+endif
+ifeq ($(LOGO),eaton)
+LOGO_BMP= logos/linux_logo_ttcontrol_eaton.bmp
+endif
+ifeq ($(LOGO),void)
+LOGO_BMP= logos/linux_logo_void.bmp
+endif
+
 ifeq ($(LOGO_BMP),)
 LOGO_BMP= logos/denx.bmp
 endif
Signature · 10 lines
1.5.4.3


---
Gary Jennejohn
*********************************************************************
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [email protected]
*********************************************************************
#1 lore raw

PATCH RESEND 1/1 Update the RRvision port.

Quoted 124 lines · In message <[email protected]> you wrote:
Makefile +113 -4
@@ -1052,10 +1052,128 @@ rmu_config:	unconfig
 RRvision_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
 
-RRvision_LCD_config:	unconfig
-	@mkdir -p $(obj)include
-	@echo "#define CONFIG_LCD" >$(obj)include/config.h
-	@echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
+RRvision_BIGMEM_config					\
+RRvision_BIGMEM_prodtest_config				\
+RRvision_codesys_config					\
+RRvision_codesys_prodtest_config			\
+RRvision_prodtest_config				\
+RRvision_LCD104_config					\
+RRvision_LCD104V1DG61_config				\
+RRvision_LCD5_config					\
+RRvision_LCD65_config					\
+RRvision_LCD7_config					\
+RRvision_LCD7AUO_config					\
+RRvision_LCDUMSH_config					\
+RRvision_LCD_NL8060BC26_config				\
+RRvision_LCD_PM070WL3_config				\
+RRvision_LCD104_codesys_config				\
+RRvision_LCD104V1DG61_codesys_config			\
+RRvision_LCD104V7DS01_codesys_config			\
+RRvision_LCD5_codesys_config				\
+RRvision_LCD65_codesys_config				\
+RRvision_LCD7_codesys_config				\
+RRvision_LCD7AUO_codesys_config				\
+RRvision_LCDUMSH_codesys_config				\
+RRvision_LCD_NL8060BC26_codesys_config			\
+RRvision_LCD_PM070WL3_codesys_config			\
+RRvision_LCD104_BIGMEM_config				\
+RRvision_LCD104V1DG61_BIGMEM_config			\
+RRvision_LCD104V7DS01_BIGMEM_config			\
+RRvision_LCD5_BIGMEM_config				\
+RRvision_LCD65_BIGMEM_config				\
+RRvision_LCD7_BIGMEM_config				\
+RRvision_LCD7AUO_BIGMEM_config				\
+RRvision_LCDUMSH_BIGMEM_config				\
+RRvision_LCD_NL8060BC26_BIGMEM_config			\
+RRvision_LCD_PM070WL3_BIGMEM_config			\
+RRvision_LCD104_prodtest_config				\
+RRvision_LCD104V1DG61_prodtest_config			\
+RRvision_LCD104V7DS01_prodtest_config			\
+RRvision_LCD5_prodtest_config				\
+RRvision_LCD65_prodtest_config				\
+RRvision_LCD7_prodtest_config				\
+RRvision_LCD7AUO_prodtest_config			\
+RRvision_LCDUMSH_prodtest_config			\
+RRvision_LCD_NL8060BC26_prodtest_config			\
+RRvision_LCD_PM070WL3_prodtest_config			\
+RRvision_LCD104_codesys_prodtest_config			\
+RRvision_LCD104V1DG61_codesys_prodtest_config		\
+RRvision_LCD104V7DS01_codesys_prodtest_config		\
+RRvision_LCD5_codesys_prodtest_config			\
+RRvision_LCD65_codesys_prodtest_config			\
+RRvision_LCD7_codesys_prodtest_config			\
+RRvision_LCD7AUO_codesys_prodtest_config		\
+RRvision_LCDUMSH_codesys_prodtest_config		\
+RRvision_LCD_NL8060BC26__codesys_prodtest_config	\
+RRvision_LCD_PM070WL3_codesys_prodtest_config		\
+RRvision_LCD104_BIGMEM_prodtest_config			\
+RRvision_LCD104V1DG61_BIGMEM_prodtest_config		\
+RRvision_LCD104V7DS01_BIGMEM_prodtest_config		\
+RRvision_LCD5_BIGMEM_prodtest_config			\
+RRvision_LCD65_BIGMEM_prodtest_config			\
+RRvision_LCD7_BIGMEM_prodtest_config			\
+RRvision_LCD7AUO_BIGMEM_prodtest_config			\
+RRvision_LCD_NL8060BC26_BIGMEM_prodtest_config		\
+RRvision_LCD_PM070WL3_BIGMEM_prodtest_config		\
+RRvision_LCD104V7DS01_config	:	unconfig
+	@mkdir -p $(obj)include
+	@[ -z "$(findstring _BIGMEM,$@)" ] || \
+		{ echo "#define CONFIG_TTTECH_BIGMEM" >>$(obj)include/config.h; \
+		  $(XECHO) "... with BIGMEM ..."; \
+		}
+	@[ -z "$(findstring _prodtest,$@)" ] || \
+		{ echo "#define CONFIG_PRODTEST" >>$(obj)include/config.h; \
+		  $(XECHO) "... with prodtest ..."; \
+		}
+	@[ -z "$(findstring _codesys,$@)" ] || \
+		{ echo "#define CONFIG_CODESYS" >>$(obj)include/config.h; \
+		  $(XECHO) "... with codesys ..."; \
+		}
+	@[ -z "$(findstring _LCD,$@)" ] || \
+		{ echo "#define CONFIG_LCD" >>$(obj)include/config.h; \
+		  $(XECHO) "... with LCD display ..."; \
+		}
+	@[ -z "$(findstring 104_,$@)" ] || \
+		{ echo "#define CONFIG_HLD1045" >>$(obj)include/config.h; \
+		  $(XECHO) "... with HLD1045 LCD display ...";  \
+		}
+	@[ -z "$(findstring 104V1DG61_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ104V1DG61" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ1041DG61 LCD display ...";  \
+		}
+	@[ -z "$(findstring 104V7DS01_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ104V7DS01 LCD display ...";  \
+		}
+	@[ -z "$(findstring CD5_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ050Q5DR01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ050Q5DR01 LCD display ...";  \
+		}
+	@[ -z "$(findstring CD65_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ065T9DR51U LCD display ...";  \
+		}
+	@[ -z "$(findstring CD7_,$@)" ] || \
+		{ echo "#define CONFIG_SHARP_LQ070Q5TR01" >>$(obj)include/config.h; \
+		  $(XECHO) "... with SHARP LQ070Q5TR01 LCD display ...";  \
+		}
+	@[ -z "$(findstring 7AUO_,$@)" ] || \
+		{ echo "#define CONFIG_AUO_T070W1D1" >>$(obj)include/config.h; \
+		  $(XECHO) "... with AUO T070W1D1 LCD display ...";  \
+		}
+	@[ -z "$(findstring NL8060BC26_,$@)" ] || \
+		{ echo "#define CONFIG_NEC_NL8060BC26" >>$(obj)include/config.h; \
+		  $(XECHO) "... with NEC NL8060BC26 LCD display ...";  \
+		}

Makefile rmu_config: unconfig · line 1177

Quoted 10 lines
Makefile +9 -0
+	@[ -z "$(findstring PM070WL3_,$@)" ] || \
+		{ echo "#define CONFIG_PM070WL3" >>$(obj)include/config.h; \
+		  $(XECHO) "... with PM070WL3 LCD display ...";  \
+		}
+	@[ -z "$(findstring UMSH_,$@)" ] || \
+		{ echo "#define CONFIG_UMSH_7189JD1F" >>$(obj)include/config.h; \
+		  echo "#define LCD_BPP LCD_MONOCHROME" >>$(obj)include/config.h; \
+		  $(XECHO) "... with UMSH LCD display ...";  \
+		}
 	@$(MKCONFIG) -a RRvision ppc mpc8xx RRvision

This is still a nightmare of a make target; it's bad enough that each display type needs a separate config option, but do we really have to
add all possible combinations with "prodtest", "codesys", and
"BIGMEM"?

Maybe not all of these options are regularly needed? And if all of this is really, really needed, then can we please at least keep the
evaluation out of the Makefile? Check for example the
board/integrator??/split_by_variant.sh scripts... [Not that I
consoder this a nice solution, but at least it keeps the stuff in a board specific place without polluting the top level Makefile.] [Not that I consoder this a nice solution, but at least it keeps the stuff in a board specific place without polluting the top level Makefile.]

...

Quoted 2 lines
include/configs/RRvision.h +0 -0

...

include/configs/RRvision.h line 116

Quoted 5 lines
include/configs/RRvision.h +5 -0
+#ifdef CONFIG_PRODTEST
+# define CONFIG_BOOTCOMMAND	"run prodtest"
+#else
+# define CONFIG_BOOTCOMMAND	"saveenv; run updateall"
+#endif

For example, this is the only place where the "prodtest" config option is ever actually evaluated...

include/configs/RRvision.h line 233

Quoted 2 lines
include/configs/RRvision.h +1 -1
-#define	CFG_LOAD_ADDR		0x100000	/* default load address	*/
+#define	CFG_LOAD_ADDR	0x100000	/* default load address	*/

This is way too low for any recent Linux kernel version...

include/configs/RRvision.h line 237

Quoted 2 lines
include/configs/RRvision.h +1 -1
-#define CFG_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
+#define CFG_BAUDRATE_TABLE	{9600, 19200, 38400, 57600, 115200}

Hmmm... I don't think this change is an improvment, but YMMV ...

include/configs/RRvision.h line 266

Quoted 2 lines
include/configs/RRvision.h +2 -0
+#ifdef CONFIG_TTTECH_BIGMEM			/* set in Makefile */
+#define CFG_MONITOR_LEN		(256 << 12)	/* Reserve 1024 kB for Monitor */

Please write as (1024 << 10) instead.

include/configs/RRvision.h line 302

Quoted 10 lines

/* timeout values are in ticks = ms */

include/configs/RRvision.h +7 -2
-#define CFG_FLASH_ERASE_TOUT	(120*CFG_HZ)	/* Timeout for Flash Erase	*/
-#define CFG_FLASH_WRITE_TOUT	(1 * CFG_HZ)	/* Timeout for Flash Write	*/
+#ifdef CONFIG_TTTECH_BIGMEM
+#define CFG_FLASH_ERASE_TOUT	(120 * CFG_HZ)	/* Timeout for Flash Erase  */
+#define CFG_FLASH_WRITE_TOUT	(10 * CFG_HZ)	/* Timeout for Flash Write  */
+#else
+#define CFG_FLASH_ERASE_TOUT	(120 * CFG_HZ)	/* Timeout for Flash Erase */
+#define CFG_FLASH_WRITE_TOUT	(1 * CFG_HZ)	/* Timeout for Flash Write */
+#endif

Where in your code are these timeouts actually used?

include/configs/RRvision.h line 316

Quoted 6 lines
include/configs/RRvision.h +6 -0
+#ifdef CONFIG_TTTECH_BIGMEM
+#define CFG_ENV_OFFSET		0x40000 /* Offset of Environment Sector */
+#define CFG_ENV_SIZE		0x40000 /* Total Size of Environment Sector */
+#else
+/* this is actually in the first sector of the flash */
+#define	CFG_ENV_OFFSET		0x8100	/* Offset of Environment Sector */

This looks obviously wrong to me. Please check again!

include/configs/RRvision.h line 546

Quoted 12 lines

/* 8 column SDRAM */

include/configs/RRvision.h +4 -4
-#define CFG_MAMR_8COL	((CFG_MAMR_PTA << MAMR_PTA_SHIFT)  | MAMR_PTAE	    |	\
+#define CFG_MAMR_8COL	((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE |	\
 			 MAMR_AMA_TYPE_0 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A11 |	\
-			 MAMR_RLFA_1X	 | MAMR_WLFA_1X	   | MAMR_TLFA_4X)
+			 MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
 /* 9 column SDRAM */
-#define CFG_MAMR_9COL	((CFG_MAMR_PTA << MAMR_PTA_SHIFT)  | MAMR_PTAE	    |	\
+#define CFG_MAMR_9COL	((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE |	\
 			 MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A10 |	\
-			 MAMR_RLFA_1X	 | MAMR_WLFA_1X	   | MAMR_TLFA_4X)
+			 MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)

Do you really think this change is an improvement? Looks like kind of waste of efforts to me.

Quoted 6 lines
tools/Makefile +0 -0
index 8533a8e..68f7e3b 100644
@@ -41,6 +41,22 @@ LIBFDT_OBJ_FILES	= $(obj)fdt.o $(obj)fdt_ro.o $(obj)fdt_rw.o $(obj)fdt_strerror.
 

tools/Makefile LIBFDT_OBJ_FILES = $(obj)fdt.o $(obj)fdt_ro.o $(obj)fdt_rw.o $(obj)fdt_strerror. · line 51

Quoted 10 lines
tools/Makefile +8 -0
 LOGO_H	= $(OBJTREE)/include/bmp_logo.h
 
+ifeq ($(LOGO),palfin)
+LOGO_BMP= logos/linux_logo_ttcontrol_palfin.bmp
+endif
+ifeq ($(LOGO),ttcontrol)
+LOGO_BMP= logos/linux_logo_ttcontrol.bmp
+endif
+ifeq ($(LOGO),patria)
+LOGO_BMP= logos/linux_logo_ttcontrol_patria.bmp

Where is this bitmap file?

tools/Makefile LIBFDT_OBJ_FILES = $(obj)fdt.o $(obj)fdt_ro.o $(obj)fdt_rw.o $(obj)fdt_strerror. · line 54

Quoted 2 lines
tools/Makefile +2 -0
+ifeq ($(LOGO),eaton)
+LOGO_BMP= logos/linux_logo_ttcontrol_eaton.bmp

Where is this bitmap file?

tools/Makefile LIBFDT_OBJ_FILES = $(obj)fdt.o $(obj)fdt_ro.o $(obj)fdt_rw.o $(obj)fdt_strerror. · line 57

Quoted 2 lines
tools/Makefile +2 -0
+ifeq ($(LOGO),void)
+LOGO_BMP= logos/linux_logo_void.bmp

Where is this bitmap file?

Where are the "patria" and "eaton" and "void" names coming from?

Sorry...

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Women are more easily and more deeply terrified ...  generating  more
sheer horror than the male of the species.
	-- Spock, "Wolf in the Fold", stardate 3615.4