]> git.sur5r.net Git - u-boot/blobdiff - board/sunxi/dram_sun5i_auto.c
Merge git://git.denx.de/u-boot-spi
[u-boot] / board / sunxi / dram_sun5i_auto.c
index 660b18ebbdc1b8a653e215aa6e709c4c137a8971..e3fa243267b09fd0e2b5e4d636451c33bd1da520 100644 (file)
@@ -12,7 +12,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 = 9,