diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-12-08 14:42:16 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-08 14:42:16 +0400 |
commit | f2711be0f9c20115f0af8c15e52bf425774b64e8 (patch) | |
tree | a5bff56e46d6510c21c42562cbd08526cecd5120 /arch/mips/include/asm/mach-au1x00 | |
parent | 3eab8095ef1658f5cd4927a0224b1214329cb348 (diff) | |
download | linux-f2711be0f9c20115f0af8c15e52bf425774b64e8.tar.xz |
MIPS: Alchemy: db1200: Improve PB1200 detection.
The PB1200 has the CPLD located at an address which on the DB1200 is
RAM; reading the Board-ID sometimes results in a PB1200 being detected
instead (especially during reboots after long uptimes).
On the other hand, the address of the DB1200's CPLD is hosting Flash
chips on the PB1200. Test for the DB1200 first and additionally do a
quick write-test to the hexleds register to make sure we're writing
to the CPLD.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-au1x00')
0 files changed, 0 insertions, 0 deletions