]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: mvebu: add revision id for Armada-385 B0
authorChris Packham <judge.packham@gmail.com>
Tue, 27 Nov 2018 21:32:00 +0000 (10:32 +1300)
committerStefan Roese <sr@denx.de>
Fri, 30 Nov 2018 09:58:10 +0000 (10:58 +0100)
Marvell have release a B0 revision of the Armada-385 SoC. This fixes a
hardware errata enabling RGMII to work when the Ethernet voltage is
configured to 3.3V.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/soc.h
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h

index 0d2d39878d38ec9cec83e6512876d15084d828e0..aa1be8ebabcb4cdb6d712b459cad17f634cd2f46 100644 (file)
@@ -261,6 +261,9 @@ int print_cpuinfo(void)
                case MV_88F68XX_A0_ID:
                        puts("A0");
                        break;
+               case MV_88F68XX_B0_ID:
+                       puts("B0");
+                       break;
                default:
                        printf("?? (%x)", revid);
                        break;
index 6e2e14efe0b7612ccd28aedcbd0bc78dadbb4196..01577f469b0e6bbc44a486ce59fa4639e612a816 100644 (file)
@@ -27,6 +27,7 @@
 /* A38x revisions */
 #define MV_88F68XX_Z1_ID       0x0
 #define MV_88F68XX_A0_ID       0x4
+#define MV_88F68XX_B0_ID       0xa
 
 /* TCLK Core Clock definition */
 #ifndef CONFIG_SYS_TCLK
index 50b235826659d500bb3d30604d536d924293dd03..365332d2b048eda37614fb9228a230446b39045c 100644 (file)
 /* A38x revisions */
 #define MV_88F68XX_Z1_ID               0x0
 #define MV_88F68XX_A0_ID               0x4
+#define MV_88F68XX_B0_ID               0xa
 /* A39x revisions */
 #define MV_88F69XX_Z1_ID               0x2