diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2008-10-28 13:36:55 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-10-31 10:37:42 +0100 |
commit | 295133258a44f97a57fb2ec339aecfda11f4db95 (patch) | |
tree | 236f8ec99f114a19e0438a00accd190811f134e4 /board | |
parent | cc2dc9b08cf7c09f9f237f8cb9303f11603d4fb0 (diff) |
ppc4xx: Handle other board variant in PMC440 FPGA code
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/esd/pmc440/fpga.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c index a35f42bd51..a2eda32ac8 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; |