diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-12-15 11:08:22 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-12-19 00:35:05 +0100 |
commit | 41c34ae49ec3e48b22591a83386dfd2bfdb45ff6 (patch) | |
tree | ff6684feea9a93cb5f65c098f94e211afa5c741a /arch/arm/mach-ux500 | |
parent | 017beaa63bd8034b6c6c0f964a57f54973f59f17 (diff) | |
download | talos-obmc-linux-41c34ae49ec3e48b22591a83386dfd2bfdb45ff6.tar.gz talos-obmc-linux-41c34ae49ec3e48b22591a83386dfd2bfdb45ff6.zip |
ARM: ux500: support DB8520
Extend the ux500 ID table to cover the DB8520 variant.
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/id.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/id.c b/arch/arm/mach-ux500/id.c index d35122ebc67b..15a0f63b2e2b 100644 --- a/arch/arm/mach-ux500/id.c +++ b/arch/arm/mach-ux500/id.c @@ -65,6 +65,7 @@ static unsigned int partnumber(unsigned int asicid) * DB8500v1 0x411fc091 0x9001FFF4 0x008500A0 * DB8500v1.1 0x411fc091 0x9001FFF4 0x008500A1 * DB8500v2 0x412fc091 0x9001DBF4 0x008500B0 + * DB8520v2.2 0x412fc091 0x9001DBF4 0x008500B2 * DB5500v1 0x412fc091 0x9001FFF4 0x005500A0 */ @@ -80,9 +81,10 @@ void __init ux500_map_io(void) addr = 0x9001FFF4; break; - case 0x412fc091: /* DB8500v2 / DB5500v1 */ + case 0x412fc091: /* DB8520 / DB8500v2 / DB5500v1 */ asicid = ux500_read_asicid(0x9001DBF4); - if (partnumber(asicid) == 0x8500) + if (partnumber(asicid) == 0x8500 || + partnumber(asicid) == 0x8520) /* DB8500v2 */ break; |