aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-19 22:30:08 +0000
committerwdenk <wdenk>2003-10-19 22:30:08 +0000
commitd7281f41094bee59eca958de3c04995a2f79034a (patch)
tree74a95807299403fd74f7a58fa93de17963a9fde1
parente7df029f1a24989532300c5e1bdfc83c77233594 (diff)
downloadu-boot-d7281f41094bee59eca958de3c04995a2f79034a.zip
u-boot-d7281f41094bee59eca958de3c04995a2f79034a.tar.gz
u-boot-d7281f41094bee59eca958de3c04995a2f79034a.tar.bz2
* Fix PCI problems on PPChameleonEVBLABEL_2003_10_20_0025
* TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
-rw-r--r--CHANGELOG3
-rw-r--r--board/trab/auto_update.c3
-rw-r--r--include/configs/PPChameleonEVB.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index de790be..5790b67 100644
--- a/CHANGELOG
+++ b/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:
diff --git a/board/trab/auto_update.c b/board/trab/auto_update.c
index dd62d09..33dece2 100644
--- a/board/trab/auto_update.c
+++ b/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;
}
diff --git a/include/configs/PPChameleonEVB.h b/include/configs/PPChameleonEVB.h
index ca045ad..52c65e9 100644
--- a/include/configs/PPChameleonEVB.h
+++ b/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 */