summaryrefslogtreecommitdiff
path: root/board/esd/pmc440
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2011-10-13 15:12:22 +0200
committerStefan Roese <sr@denx.de>2011-12-01 09:10:28 +0100
commit2fe6b7f70f423b66e23ad6fb0848b71252b2b2cd (patch)
tree981224253ab1c2a7cbdea438cb4c84d4984ed12e /board/esd/pmc440
parenta63d9652757605ec5f7104addc5d38bf10ba8671 (diff)
downloadu-boot-imx-2fe6b7f70f423b66e23ad6fb0848b71252b2b2cd.zip
u-boot-imx-2fe6b7f70f423b66e23ad6fb0848b71252b2b2cd.tar.gz
u-boot-imx-2fe6b7f70f423b66e23ad6fb0848b71252b2b2cd.tar.bz2
ppc4xx: use CONFIG_PCI_BOOTDELAY instead of private implementation
This patch switches PMC440 board code to the CONFIG_PCI_BOOTDELAY option instead of using a private implemention. This relies on Anatolji's patch that moves the pcidelay handling behind pci_target_init. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd/pmc440')
-rw-r--r--board/esd/pmc440/pmc440.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c
index 5236f44..0d56064 100644
--- a/board/esd/pmc440/pmc440.c
+++ b/board/esd/pmc440/pmc440.c
@@ -617,21 +617,6 @@ void pci_master_init(struct pci_controller *hose)
static void wait_for_pci_ready(void)
{
- int i;
- char *s = getenv("pcidelay");
- /*
- * We have our own handling of the pcidelay variable.
- * Using CONFIG_PCI_BOOTDELAY enables pausing for host
- * and adapter devices. For adapter devices we do not
- * want this.
- */
- if (s) {
- int ms = simple_strtoul(s, NULL, 10);
- printf("PCI: Waiting for %d ms\n", ms);
- for (i=0; i<ms; i++)
- udelay(1000);
- }
-
if (!(in_be32((void*)GPIO1_IR) & GPIO1_PPC_EREADY)) {
printf("PCI: Waiting for EREADY (CTRL-C to skip) ... ");
while (1) {