]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/soc-info.h
ARM: keystone2: use SPD info to configure K2HK and K2E DDR3
[u-boot] / arch / arm / mach-uniphier / soc-info.h
index 3cfd1e9d6e0a5330c415cdd30078f1e831f86aa9..606094c80f463e224ad4aaec16aad0ed5e1d43a9 100644 (file)
@@ -15,8 +15,8 @@ enum uniphier_soc_id {
        SOC_UNIPHIER_PH1_PRO5,
        SOC_UNIPHIER_PROXSTREAM2,
        SOC_UNIPHIER_PH1_LD6B,
-       SOC_UNIPHIER_PH1_SLD11,
-       SOC_UNIPHIER_PH1_LD10,
+       SOC_UNIPHIER_PH1_LD11,
+       SOC_UNIPHIER_PH1_LD20,
        SOC_UNIPHIER_UNKNOWN,
 };
 
@@ -28,8 +28,8 @@ enum uniphier_soc_id {
        IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_PRO5) +     \
        IS_ENABLED(CONFIG_ARCH_UNIPHIER_PROXSTREAM2) +  \
        IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_LD6B) + \
-       IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_SLD11) + \
-       IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_LD10)
+       IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_LD11) + \
+       IS_ENABLED(CONFIG_ARCH_UNIPHIER_PH1_LD20)
 
 #define UNIPHIER_MULTI_SOC     ((UNIPHIER_NR_ENABLED_SOCS) > 1)
 
@@ -59,11 +59,11 @@ static inline enum uniphier_soc_id uniphier_get_soc_type(void)
 #if defined(CONFIG_ARCH_UNIPHIER_PH1_LD6B)
        return SOC_UNIPHIER_PH1_LD6B;
 #endif
-#if defined(CONFIG_ARCH_UNIPHIER_PH1_SLD11)
-       return SOC_UNIPHIER_PH1_SLD11;
+#if defined(CONFIG_ARCH_UNIPHIER_PH1_LD11)
+       return SOC_UNIPHIER_PH1_LD11;
 #endif
-#if defined(CONFIG_ARCH_UNIPHIER_PH1_LD10)
-       return SOC_UNIPHIER_PH1_LD10;
+#if defined(CONFIG_ARCH_UNIPHIER_PH1_LD20)
+       return SOC_UNIPHIER_PH1_LD20;
 #endif
 
        return SOC_UNIPHIER_UNKNOWN;