]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: mpc85xx: Show e500 core version
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:05:10 +0000 (00:05 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
Distinguish between e500v1 and e500v2.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/cpu.c

index cc1d02df8115d6f12bf2ae3df49da72d697eb6e5..a82516a75bdc6c3271817feb52d215b86e83a7bd 100644 (file)
@@ -143,8 +143,10 @@ int checkcpu (void)
        printf("Core:  ");
        switch(ver) {
        case PVR_VER_E500_V1:
+               puts("e500v1");
+               break;
        case PVR_VER_E500_V2:
-               puts("e500");
+               puts("e500v2");
                break;
        case PVR_VER_E500MC:
                puts("e500mc");