From: Matthias Fuchs Date: Tue, 28 Oct 2008 12:36:55 +0000 (+0100) Subject: ppc4xx: Handle other board variant in PMC440 FPGA code X-Git-Tag: v2009.01-rc1~100^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=295133258a44f97a57fb2ec339aecfda11f4db95;p=platform%2Fkernel%2Fu-boot.git ppc4xx: Handle other board variant in PMC440 FPGA code Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese --- diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c index a35f42b..a2eda32 100644 --- a/board/esd/pmc440/fpga.c +++ b/board/esd/pmc440/fpga.c @@ -220,8 +220,9 @@ int fpga_post_config_fn(int cookie) FPGA_OUT32(&fpga->status, (gd->board_type << STATUS_HWREV_SHIFT) & STATUS_HWREV_MASK); - /* NGCC only: enable ledlink */ - if ((s = getenv("bd_type")) && !strcmp(s, "ngcc")) + /* NGCC/CANDES only: enable ledlink */ + if ((s = getenv("bd_type")) && + ((!strcmp(s, "ngcc")) || (!strcmp(s, "candes")))) FPGA_SETBITS(&fpga->ctrla, 0x29f8c000); return rc;