[U-Boot] [PATCH] ppc4xx: Remove autoupdate feature from PLU405 board

Matthias Fuchs matthias.fuchs at esd-electronics.com
Thu Oct 22 23:06:59 CEST 2009


The autoupdate feature is not used on PLU405 boards.
So remove it.

Signed-off-by: Matthias Fuchs <matthias.fuchs at esd.eu>
---
 board/esd/plu405/Makefile |    1 -
 board/esd/plu405/plu405.c |   16 ----------------
 include/configs/PLU405.h  |    2 --
 3 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/board/esd/plu405/Makefile b/board/esd/plu405/Makefile
index c57d90c..98acb4b 100644
--- a/board/esd/plu405/Makefile
+++ b/board/esd/plu405/Makefile
@@ -31,7 +31,6 @@ LIB	= $(obj)lib$(BOARD).a
 COBJS	= $(BOARD).o flash.o \
 	../common/misc.o \
 	../common/esd405ep_nand.o \
-	../common/auto_update.o
 
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
diff --git a/board/esd/plu405/plu405.c b/board/esd/plu405/plu405.c
index f14ef7a..1841cda 100644
--- a/board/esd/plu405/plu405.c
+++ b/board/esd/plu405/plu405.c
@@ -45,22 +45,6 @@ const unsigned char fpgadata[] =
  */
 #include "../common/fpga.c"
 
-/*
- * include common auto-update code (for esd boards)
- */
-#include "../common/auto_update.h"
-
-au_image_t au_image[] = {
-	{"plu405/preinst.img", 0, -1, AU_SCRIPT},
-	{"plu405/u-boot.img", 0xfffc0000, 0x00040000, AU_FIRMWARE},
-	{"plu405/pImage_${bd_type}", 0x00000000, 0x00100000, AU_NAND},
-	{"plu405/pImage.initrd", 0x00100000, 0x00200000, AU_NAND},
-	{"plu405/yaffsmt2.img", 0x00300000, 0x01c00000, AU_NAND},
-	{"plu405/postinst.img", 0, 0, AU_SCRIPT},
-};
-
-int N_AU_IMAGES = (sizeof(au_image) / sizeof(au_image[0]));
-
 /* Prototypes */
 int gunzip(void *, int, unsigned char *, unsigned long *);
 
diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h
index 2e41526..07fc715 100644
--- a/include/configs/PLU405.h
+++ b/include/configs/PLU405.h
@@ -99,8 +99,6 @@
 
 #define CONFIG_SUPPORT_VFAT
 
-#define CONFIG_AUTO_UPDATE      1       /* autoupdate via compactflash  */
-
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
 #define CONFIG_RTC_MC146818		/* DS1685 is MC146818 compatible*/
-- 
1.5.6.3


More information about the U-Boot mailing list