]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx6/tx6ul.c
karo: tx6ul: fix wrong board name in U-Boot messages
[karo-tx-uboot.git] / board / karo / tx6 / tx6ul.c
index dd3507673857ffa32ee3eaff572a69b01422bb75..cfb6242cced689f7496453c3a9f6ab321c59e4c5 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';
@@ -467,7 +467,7 @@ static struct pmic_regs rn5t567_regs[] = {
        { RN5T567_LDORTC1_SLOT, 0x0f, ~0x3f, },
 };
 
-static int pmic_addr __maybe_unused = 0x33;
+static int pmic_addr = 0x33;
 #endif
 
 int board_init(void)