]> git.sur5r.net Git - u-boot/blobdiff - board/sunxi/dram_sun4i_auto.c
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / board / sunxi / dram_sun4i_auto.c
index 09e0c9ae2ec5dfa0cde56e31c81d812a7ca9e1c8..7d4409b51e9882ca3707154f4c8f4939f43880af 100644 (file)
@@ -9,7 +9,7 @@ static struct dram_para dram_para = {
        .io_width = 0,
        .bus_width = 0,
        .zq = CONFIG_DRAM_ZQ,
-       .odt_en = CONFIG_DRAM_ODT_EN,
+       .odt_en = IS_ENABLED(CONFIG_DRAM_ODT_EN),
        .size = 0,
 #ifdef CONFIG_DRAM_TIMINGS_VENDOR_MAGIC
        .cas = 6,