mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
powerpc/85xx: Cleanup handling of PVR detection for e500/e500mc/e5500
At some point we broke the detection of e500v1 class cores. Fix that and simply the code to just utilize PVR_VER() to have a single case statement. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@ -938,6 +938,10 @@
|
||||
#define PVR_85xx 0x80200000
|
||||
#define PVR_85xx_REV1 (PVR_85xx | 0x0010)
|
||||
#define PVR_85xx_REV2 (PVR_85xx | 0x0020)
|
||||
#define PVR_VER_E500_V1 0x8020
|
||||
#define PVR_VER_E500_V2 0x8021
|
||||
#define PVR_VER_E500MC 0x8023
|
||||
#define PVR_VER_E5500 0x8024
|
||||
|
||||
#define PVR_86xx 0x80040000
|
||||
|
||||
|
Reference in New Issue
Block a user