diff mbox series

[v2,08/12] video: bpp16: Disable by default on sunXi

Message ID 20180116084424.17801-9-maxime.ripard@free-electrons.com
State Accepted
Commit 0a319b610b239b84cb06cfdf95ae7644169ae9c2
Headers show
Series sunxi: arm64 binary size fixes | expand

Commit Message

Maxime Ripard Jan. 16, 2018, 8:44 a.m. UTC
The sunXi arm64 build has overflown, leading to the main U-boot binary
overwriting the environment when flashing the new image, or even worse,
overwriting itself when we're calling saveenv.

Disable this command that is not critical until we can adress the issue
properly.

Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 drivers/video/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index a267c9acfecb..2fc0defcd0d1 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -49,6 +49,7 @@  config VIDEO_BPP8
 config VIDEO_BPP16
 	bool "Support 16-bit-per-pixel displays"
 	depends on DM_VIDEO
+	default n if ARCH_SUNXI
 	default y if DM_VIDEO
 	help
 	  Support drawing text and bitmaps onto a 16-bit-per-pixel display.