9
0
Fork 0

* Fix PCI problems on PPChameleonEVB

* TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
This commit is contained in:
wdenk 2003-10-19 22:30:08 +00:00
parent e7df029f1a
commit d7281f4109
3 changed files with 6 additions and 2 deletions

View File

@ -4,8 +4,11 @@ Changes for U-Boot 1.0.0:
* Add CompactFlash support for NSCU * Add CompactFlash support for NSCU
* Fix PCI problems on PPChameleonEVB
* TRAB auto-update: Base decision if we have to strip the image * TRAB auto-update: Base decision if we have to strip the image
header on image type as encoded in the header 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: * Patches by Xianghua Xiao, 15 Oct 2003:

View File

@ -260,7 +260,8 @@ au_check_valid(int idx, long nbytes)
printf ("Image %s wrong type\n", aufile[idx]); printf ("Image %s wrong type\n", aufile[idx]);
return -1; 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]); printf ("Image %s wrong type\n", aufile[idx]);
return -1; return -1;
} }

View File

@ -282,7 +282,7 @@
#define PCI_HOST_AUTO 2 /* detected via arbiter enable */ #define PCI_HOST_AUTO 2 /* detected via arbiter enable */
#define CONFIG_PCI /* include pci support */ #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 */ #undef CONFIG_PCI_PNP /* do pci plug-and-play */
/* resource configuration */ /* resource configuration */