Skip to contentSkip to conversation

Add flash cmd function to 8641HPCN ramboot [...]

PATCH New DENX Support System 1 participant 1 message Dec 7, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add flash cmd function to 8641HPCN ramboot [...]

Hello list,

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

<snip>

Quoted 58 lines

From: Jason Jin <[email protected]>

Also fixes some commmand for 8641 HPCN ramboot case.

---
 include/configs/MPC8641HPCN.h |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)
include/configs/MPC8641HPCN.h +3 -13
index 4a313af..0e42fa0 100644
@@ -212,7 +212,6 @@ #undef  CFG_RAMBOOT
 #endif
 
 #if defined(CFG_RAMBOOT)
-#undef CFG_FLASH_CFI_DRIVER
 #undef CONFIG_SPD_EEPROM
 #define CFG_SDRAM_SIZE	256
 #endif
@@ -468,7 +467,6 @@ #ifndef CFG_RAMBOOT
     #define CFG_ENV_SECT_SIZE		0x40000	/* 256K(one sector) for env */
     #define CFG_ENV_SIZE		0x2000
 #else
-    #define CFG_NO_FLASH		1	/* Flash is not usable now */
     #define CFG_ENV_IS_NOWHERE	1	/* Store ENV in memory only */
     #define CFG_ENV_ADDR		(CFG_MONITOR_BASE - 0x1000)
     #define CFG_ENV_SIZE		0x2000
@@ -486,21 +484,13 @@ #if defined(CFG_RAMBOOT)
 				 | CFG_CMD_SCSI		\
 				 | CFG_CMD_EXT2)	\
 				&			\
-				 ~(CFG_CMD_ENV		\
-				  | CFG_CMD_IMLS	\
-				  | CFG_CMD_FLASH	\
-				  | CFG_CMD_LOADS))
+				 ~(CFG_CMD_ENV))
   #else
     #define  CONFIG_COMMANDS	((CONFIG_CMD_DFL	\
 				 | CFG_CMD_PING		\
-				 | CFG_CMD_I2C		\
-				 | CFG_CMD_SCSI		\
-				 | CGF_CMD_EXT2)	\
+				 | CFG_CMD_I2C)		\
 				&			\
-				 ~(CFG_CMD_ENV		\
-				 | CFG_CMD_IMLS		\
-				 | CFG_CMD_FLASH	\
-				 | CFG_CMD_LOADS))
+				 ~(CFG_CMD_ENV))
   #endif
 #else
   #if defined(CONFIG_PCI)
Signature · 1 line
1.4.2.3

</snip>

Your U-Boot support team