Jelajahi Sumber

[PATCH] Kconfig fix (ppc 4xx and early serial)

a bunch of ppc 4xx variants unconditionally calls early_serial_setup() and
therefore needs SERIAL_8250

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 20 tahun lalu
induk
melakukan
f08243a491
1 mengubah file dengan 10 tambahan dan 0 penghapusan
  1. 10 0
      arch/ppc/platforms/4xx/Kconfig

+ 10 - 0
arch/ppc/platforms/4xx/Kconfig

@@ -3,6 +3,11 @@ config 4xx
 	depends on 40x || 44x
 	depends on 40x || 44x
 	default y
 	default y
 
 
+config WANT_EARLY_SERIAL
+	bool
+	select SERIAL_8250
+	default n
+
 menu "IBM 4xx options"
 menu "IBM 4xx options"
 	depends on 4xx
 	depends on 4xx
 
 
@@ -18,6 +23,7 @@ config ASH
 
 
 config BUBINGA
 config BUBINGA
 	bool "Bubinga"
 	bool "Bubinga"
+	select WANT_EARLY_SERIAL
 	help
 	help
 	  This option enables support for the IBM 405EP evaluation board.
 	  This option enables support for the IBM 405EP evaluation board.
 
 
@@ -70,21 +76,25 @@ choice
 
 
 config BAMBOO
 config BAMBOO
 	bool "Bamboo"
 	bool "Bamboo"
+	select WANT_EARLY_SERIAL
 	help
 	help
 	  This option enables support for the IBM PPC440EP evaluation board.
 	  This option enables support for the IBM PPC440EP evaluation board.
 
 
 config EBONY
 config EBONY
 	bool "Ebony"
 	bool "Ebony"
+	select WANT_EARLY_SERIAL
 	help
 	help
 	  This option enables support for the IBM PPC440GP evaluation board.
 	  This option enables support for the IBM PPC440GP evaluation board.
 
 
 config LUAN
 config LUAN
 	bool "Luan"
 	bool "Luan"
+	select WANT_EARLY_SERIAL
 	help
 	help
 	  This option enables support for the IBM PPC440SP evaluation board.
 	  This option enables support for the IBM PPC440SP evaluation board.
 
 
 config OCOTEA
 config OCOTEA
 	bool "Ocotea"
 	bool "Ocotea"
+	select WANT_EARLY_SERIAL
 	help
 	help
 	  This option enables support for the IBM PPC440GX evaluation board.
 	  This option enables support for the IBM PPC440GX evaluation board.