From 34ddbd171ba154e9afd83f07a07ad8b57ac592e3 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Thu, 22 Oct 2009 23:06:59 +0200 Subject: [PATCH] ppc4xx: Remove autoupdate feature from PLU405 board The autoupdate feature is not used on PLU405 boards. So remove it. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese --- board/esd/plu405/Makefile | 1 - board/esd/plu405/plu405.c | 16 ---------------- include/configs/PLU405.h | 2 -- 3 files changed, 19 deletions(-) diff --git a/board/esd/plu405/Makefile b/board/esd/plu405/Makefile index c57d90cf6f..98acb4b771 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 f14ef7a20f..1841cda0bb 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 955e0a8d8d..85e4611aa1 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*/