Browse Source

* Fix PCI problems on PPChameleonEVB

* TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
wdenk 21 years ago
parent
commit
d7281f4109
3 changed files with 6 additions and 2 deletions
  1. 3 0
      CHANGELOG
  2. 2 1
      board/trab/auto_update.c
  3. 1 1
      include/configs/PPChameleonEVB.h

+ 3 - 0
CHANGELOG

@@ -4,8 +4,11 @@ Changes for U-Boot 1.0.0:
 
 * Add CompactFlash support for NSCU
 
+* Fix PCI problems on PPChameleonEVB
+
 * TRAB auto-update: Base decision if we have to strip the image
   header on image type as encoded in the header
+  (include image type patch by Martin Krause, 17 Oct 2003)
 
 * Patches by Xianghua Xiao, 15 Oct 2003:
 

+ 2 - 1
board/trab/auto_update.c

@@ -260,7 +260,8 @@ au_check_valid(int idx, long nbytes)
 		printf ("Image %s wrong type\n", aufile[idx]);
 		return -1;
 	}
-	if ((idx == IDX_APP) && (hdr->ih_type != IH_TYPE_RAMDISK)) {
+	if ((idx == IDX_APP) && (hdr->ih_type != IH_TYPE_RAMDISK) 
+            && (hdr->ih_type != IH_TYPE_FILESYSTEM)) {
 		printf ("Image %s wrong type\n", aufile[idx]);
 		return -1;
 	}

+ 1 - 1
include/configs/PPChameleonEVB.h

@@ -282,7 +282,7 @@
 #define PCI_HOST_AUTO   2               /* detected via arbiter enable  */
 
 #define CONFIG_PCI			/* include pci support	        */
-#define CONFIG_PCI_HOST	PCI_HOST_HOST   /* select pci host function     */
+#define CONFIG_PCI_HOST	PCI_HOST_AUTO   /* select pci host function     */
 #undef  CONFIG_PCI_PNP			/* do pci plug-and-play         */
 					/* resource configuration       */