projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc2dc9b
)
ppc4xx: Handle other board variant in PMC440 FPGA code
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Tue, 28 Oct 2008 12:36:55 +0000
(13:36 +0100)
committer
Stefan Roese
<sr@denx.de>
Fri, 31 Oct 2008 09:37:42 +0000
(10:37 +0100)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
board/esd/pmc440/fpga.c
patch
|
blob
|
history
diff --git
a/board/esd/pmc440/fpga.c
b/board/esd/pmc440/fpga.c
index a35f42bd51d46e9661243d827555358b5f2eb33e..a2eda32ac89ecc9137ea18895ebda6cabbeb5304 100644
(file)
--- 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;