1
0
Fork 0
remarkable-uboot/drivers/video
Masahiro Yamada 0f9258228e of: clean up OF_CONTROL ifdef conditionals
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL.  We have cleansing
devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear
away the ugly logic in include/fdtdec.h:

 #ifdef CONFIG_OF_CONTROL
 # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL)
 #  define OF_CONTROL 0
 # else
 #  define OF_CONTROL 1
 # endif
 #else
 # define OF_CONTROL 0
 #endif

Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute.  It refers to
CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for
SPL.

Also, we no longer have to cancel CONFIG_OF_CONTROL in
include/config_uncmd_spl.h and scripts/Makefile.spl.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-08-18 13:46:05 -04:00
..
bridge dm: video: Add support for the NXP PTN3460 bridge 2015-08-05 21:06:13 -06:00
tegra124 tegra: lcd: Tidy up clock init 2015-06-09 09:56:14 -07:00
Kconfig Merge git://git.denx.de/u-boot-x86 2015-08-14 16:27:16 -04:00
Makefile video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
am335x-fb.c cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer 2015-05-28 11:17:48 -04:00
am335x-fb.h cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer 2015-05-28 11:17:48 -04:00
anx9804.c video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
anx9804.h video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c Introduce a header file for the BIOS emulator 2014-11-25 06:34:14 -07:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c lcd: split configuration_get_cmap 2015-02-10 13:25:08 +01:00
atmel_lcdfb.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bcm2835.c ARM: bcm283x: Allocate all mailbox buffers cacheline aligned 2015-08-12 20:47:42 -04:00
bus_vcxk.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
cfb_console.c cfbconsole: Add support for stride != width 2015-08-14 08:37:36 +02:00
coreboot_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ct69000.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
da8xx-fb.c video, da8xx-fb: show fb addr in bdinfo 2013-08-10 10:47:48 +02:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
dp-uclass.c dm: video: Add a uclass for display port 2015-05-13 09:24:10 -07:00
exynos_dp.c exynos: video: Remove non-device-tree code 2015-08-05 21:06:17 -06:00
exynos_dp_lowlevel.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_dp_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fb.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_fb.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fimd.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_mipi_dsi.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
exynos_mipi_dsi_common.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_common.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_pwm_bl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_dcu_fb.c video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hitachi_tx18d42vm_lcd.c video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
hitachi_tx18d42vm_lcd.h video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu.h video, ipu: make ldb clock frequency overwritable through board code 2015-04-20 09:36:59 +02:00
ipu_common.c video, ipu: make ldb clock frequency overwritable through board code 2015-04-20 09:36:59 +02:00
ipu_disp.c video: ipu: prevent warnings with W=1 2014-10-25 07:27:37 -04:00
ipu_regs.h video: ipu_disp: wait for DP SF end irq when disabling sync BG flows 2014-08-11 17:31:41 +02:00
l5f31188.c video: add L5F31188 TFT-LCD panel driver 2013-08-10 09:31:04 +02:00
ld9040.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lg4573.c video, lg4573: add support for the lg4573 display 2015-04-20 09:47:28 +02:00
mb862xx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xx_lcd.c remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
mx3fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_ipuv3_fb.c video: ipu: prevent warnings with W=1 2014-10-25 07:27:37 -04:00
mxcfb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c video: Implement continuous screen refresh for SmartLCD into mxsfb 2013-08-09 21:48:57 +02:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
pxa_lcd.c remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
s6e8ax0.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sandbox_sdl.c sandbox: Add LCD driver 2014-03-17 20:05:49 -06:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
sed156x.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sed13806.c powerpc: mpc5xxx: remove Total5200 board support 2015-01-23 16:53:52 -05:00
sm501.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smiLynxEM.c powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
ssd2828.c video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
ssd2828.h video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
sunxi_display.c sunxi: Display: Add support for eDP panels connected via an anx9804 bridge 2015-08-14 08:51:46 +02:00
tegra.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
vesa_fb.c x86: Gracefully disable the vesa driver when running from EFI 2015-08-05 08:44:08 -06:00
videomodes.c videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00
videomodes.h videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00