Skip to contentSkip to conversation

support for mainstone devel [...]

PATCH New DENX Support System 1 participant 1 message Mar 31, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support for mainstone devel [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006033142000552] was created:

<snip>

Quoted 97 lines

Attached are files to add support for the Mainstone development board (PXA270 CPU). This work was based on the Lubbock module.

CHANGELOG:
* Add support for the Mainstone development board
Patch by Frank Agius, 26 Oct 2005

________________________________________
Frank?Agius
SAMSys Technologies, Inc.

Index: MAKEALL
===================================================================
RCS file: /cvsroot/u-boot/u-boot/MAKEALL,v
retrieving revision 1.128
diff -p -u -r1.128 MAKEALL

MAKEALL +2 -2
@@ -202,8 +202,8 @@ LIST_ARM11="	\
 
 LIST_pxa="	\
 	adsvix		cerf250		cradle		csb226		\
-	innokom		lubbock		pxa255_idp	wepep250	\
-	xaeniax		xm250		xsengine			\
+	innokom		lubbock		mainstone	pxa255_idp	\
+	wepep250	xaeniax		xm250		xsengine	\
 "
 
 LIST_ixp="ixdp425"

Index: Makefile
===================================================================
RCS file: /cvsroot/u-boot/u-boot/Makefile,v
retrieving revision 1.212
diff -p -u -r1.212 Makefile

Makefile +3 -0
@@ -1601,6 +1601,9 @@ lubbock_config	:	unconfig
 logodl_config	:	unconfig
 	@./mkconfig $(@:_config=) arm pxa logodl
 
+mainstone_config:	unconfig
+	@./mkconfig $(@:_config=) arm pxa mainstone 
+
 pxa255_idp_config:	unconfig
 	@./mkconfig $(@:_config=) arm pxa pxa255_idp
 

Index: README
===================================================================
RCS file: /cvsroot/u-boot/u-boot/README,v
retrieving revision 1.138
diff -p -u -r1.138 README

README +0 -2
@@ -308,9 +308,9 @@ The following options need to be configu
 		CONFIG_H2_OMAP1610,	CONFIG_HHP_CRADLE,
 CONFIG_IMPA7,
 		CONFIG_INNOVATOROMAP1510, CONFIG_INNOVATOROMAP1610,
 CONFIG_KB9202,
 		CONFIG_LART,		CONFIG_LPD7A400,
 CONFIG_LUBBOCK,
-		CONFIG_OSK_OMAP5912,	CONFIG_OMAP2420H4,
 CONFIG_SHANNON,
-		CONFIG_P2_OMAP730,	CONFIG_SMDK2400,

CONFIG_SMDK2410,

README +1 -1
-		CONFIG_TRAB,		CONFIG_VCMA9
+		CONFIG_MAINSTONE,	CONFIG_OSK_OMAP5912,

CONFIG_OMAP2420H4,
+ CONFIG_SHANNON, CONFIG_P2_OMAP730,
CONFIG_SMDK2400,

README +1 -0
+                CONFIG_SMDK2410,	CONFIG_TRAB,		CONFIG_VCMA9
 
 		MicroBlaze based boards:
 		------------------------

Index: drivers/smc91111.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/drivers/smc91111.c,v retrieving revision 1.19
diff -p -u -r1.19 smc91111.c

smc91111.c +8 -0
@@ -495,7 +495,15 @@ static void smc_enable()
 	SMC_SELECT_BANK( 0 );
 	/* see the header file for options in TCR/RCR DEFAULT*/
 	SMC_outw( TCR_DEFAULT, TCR_REG );
+#ifdef CONFIG_SMC_PXA270
+	/* The promiscuous bit set because I could not receive ARP reply
+	 * packets from the server when I send a ARP request. It only works
+	 * when I set the promiscuous bit
+	 */
+	SMC_outw( RCR_DEFAULT | RCR_PRMS, RCR_REG );
+#else
 	SMC_outw( RCR_DEFAULT, RCR_REG );
+#endif
 
 	/* clear MII_DIS */
 /*	smc_write_phy_register(PHY_CNTL_REG, 0x0000); */

smc91111.c static void smc_shutdown() · line 539

Quoted 3 lines
smc91111.c +0 -0
@@ -529,7 +537,6 @@ static void smc_shutdown()
 	SMC_outb( TCR_CLEAR, TCR_REG );
 }
 

</snip>

Your U-Boot support team