diff mbox series

[07/18] video: kconfig: Drop the superfluous dependency

Message ID 20230723044041.1089804-8-bmeng@tinylab.org
State Accepted
Commit 185ae84af0cbf69d6253b55b4097c071f932bc16
Delegated to: Anatolij Gustschin
Headers show
Series video: bochs: Remove the x86 limitation | expand

Commit Message

Bin Meng July 23, 2023, 4:40 a.m. UTC
PCI is always selected by X86 architecture hence "X86 && PCI" does
not make it better.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
---

 drivers/video/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Simon Glass July 23, 2023, 10:58 p.m. UTC | #1
On Sat, 22 Jul 2023 at 22:41, Bin Meng <bmeng@tinylab.org> wrote:
>
> PCI is always selected by X86 architecture hence "X86 && PCI" does
> not make it better.
>
> Signed-off-by: Bin Meng <bmeng@tinylab.org>
> ---
>
>  drivers/video/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>  # qemu-x86_64
Anatolij Gustschin Aug. 1, 2023, 1 p.m. UTC | #2
On Sun, 23 Jul 2023 12:40:30 +0800
Bin Meng bmeng@tinylab.org wrote:

> PCI is always selected by X86 architecture hence "X86 && PCI" does
> not make it better.
> 
> Signed-off-by: Bin Meng <bmeng@tinylab.org>
> ---
> 
>  drivers/video/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

applied to u-boot-video/master, thanks!

--
Anatolij
diff mbox series

Patch

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 43ec7e6695..3f6b7d71b8 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -64,8 +64,8 @@  config BACKLIGHT
 
 config VIDEO_PCI_DEFAULT_FB_SIZE
 	hex "Default framebuffer size to use if no drivers request it"
-	default 0x1000000 if X86 && PCI
-	default 0 if !(X86 && PCI)
+	default 0x1000000 if X86
+	default 0 if !X86
 	help
 	  Generally, video drivers request the amount of memory they need for
 	  the frame buffer when they are bound, by setting the size field in
@@ -1036,8 +1036,8 @@  config SPL_SYS_WHITE_ON_BLACK
 
 config SPL_VIDEO_PCI_DEFAULT_FB_SIZE
 	hex "Default framebuffer size to use if no drivers request it at SPL"
-	default 0x1000000 if X86 && PCI
-	default 0 if !(X86 && PCI)
+	default 0x1000000 if X86
+	default 0 if !X86
 	help
 	  Generally, video drivers request the amount of memory they need for
 	  the frame buffer when they are bound, by setting the size field in