mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 23:21:58 +00:00
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>
This commit is contained in:
parent
cc2dc9b08c
commit
295133258a
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue