]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx6/tx6ul.c
karo: tx6: configure PMIC to a consistent state upon boot
[karo-tx-uboot.git] / board / karo / tx6 / tx6ul.c
index 1817e2793bad3ca21e174da00d5f008a04c67c7d..4d146263550af5e38c465b3a764c02e5c99a46ec 100644 (file)
@@ -431,7 +431,7 @@ static bool tx6ul_temp_check_enabled = true;
 
 static inline u8 tx6ul_mem_suffix(void)
 {
-#ifdef CONFIG_TX6UL_NAND
+#ifdef CONFIG_TX6_NAND
        return '0';
 #else
        return '1';
@@ -452,7 +452,7 @@ static inline u8 tx6ul_mem_suffix(void)
 
 static struct pmic_regs rn5t567_regs[] = {
        { RN5T567_NOETIMSET, NOETIMSET_DIS_OFF_NOE_TIM | 0x5, },
-       { RN5T567_DC2CTL, DC2_DC2DIS, },
+       { RN5T567_DC2CTL, DCnCTL_DCnDIS, },
        { RN5T567_DC1DAC, VDD_CORE_VAL, },
        { RN5T567_DC3DAC, VDD_DDR_VAL, },
        { RN5T567_DC4DAC, VDD_HIGH_VAL, },