summaryrefslogtreecommitdiff
path: root/board/esd/pmc440/fpga.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-11-01 16:07:43 +0100
committerWolfgang Denk <wd@denx.de>2008-11-01 16:07:43 +0100
commit41e7bbe0097713cd76edd65995620fa1eb120407 (patch)
tree87703a46079eb111f654b82728e7f409eb30ef07 /board/esd/pmc440/fpga.c
parent17380cb04d510ad1a6983e6d448d2520d444b66a (diff)
parentcdd4fe63b094d4b767f12ff241d72566b461ee61 (diff)
downloadu-boot-imx-41e7bbe0097713cd76edd65995620fa1eb120407.zip
u-boot-imx-41e7bbe0097713cd76edd65995620fa1eb120407.tar.gz
u-boot-imx-41e7bbe0097713cd76edd65995620fa1eb120407.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'board/esd/pmc440/fpga.c')
-rw-r--r--board/esd/pmc440/fpga.c5
1 files changed, 3 insertions, 2 deletions
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;