X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Ftegra.c;h=8e8134614e395154634266462aa668c944140599;hb=458a070076dc920a7106f0c8f0cfa880503ce498;hp=b8f3431f242339c96cd0a9e28fffa435b4aef0fa;hpb=8e3da9dd113699eed2fa05fcde3c55a2ff410913;p=oweals%2Fu-boot.git diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index b8f3431f24..8e8134614e 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -49,7 +49,7 @@ vidinfo_t panel_info = { .vl_col = -1, }; -#ifndef CONFIG_OF_CONTROL +#if !CONFIG_IS_ENABLED(OF_CONTROL) #error "You must enable CONFIG_OF_CONTROL to get Tegra LCD support" #endif @@ -92,7 +92,7 @@ void lcd_ctrl_init(void *lcdbase) /* Enable flushing after LCD writes if requested */ lcd_set_flush_dcache(config.cache_type & FDT_LCD_CACHE_FLUSH); - debug("LCD frame buffer at %08X\n", disp_config->frame_buffer); + debug("LCD frame buffer at %pa\n", &disp_config->frame_buffer); } ulong calc_fbsize(void)