提交 6fa612b5 编写于 作者: M Michal Simek

microblaze: Kconfig: Enable drivers for Microblaze

Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 873a2e89
...@@ -6,6 +6,7 @@ mainmenu "Linux/Microblaze Kernel Configuration" ...@@ -6,6 +6,7 @@ mainmenu "Linux/Microblaze Kernel Configuration"
config MICROBLAZE config MICROBLAZE
def_bool y def_bool y
select HAVE_LMB select HAVE_LMB
select ARCH_WANT_OPTIONAL_GPIOLIB
config SWAP config SWAP
def_bool n def_bool n
...@@ -49,6 +50,9 @@ config GENERIC_CLOCKEVENTS ...@@ -49,6 +50,9 @@ config GENERIC_CLOCKEVENTS
config GENERIC_HARDIRQS_NO__DO_IRQ config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y def_bool y
config GENERIC_GPIO
def_bool y
config PCI config PCI
depends on !MMU depends on !MMU
def_bool n def_bool n
...@@ -105,9 +109,6 @@ config CMDLINE_FORCE ...@@ -105,9 +109,6 @@ config CMDLINE_FORCE
config OF config OF
def_bool y def_bool y
config OF_DEVICE
def_bool y
config PROC_DEVICETREE config PROC_DEVICETREE
bool "Support for device tree in /proc" bool "Support for device tree in /proc"
depends on PROC_FS depends on PROC_FS
......
...@@ -438,7 +438,7 @@ source "drivers/s390/block/Kconfig" ...@@ -438,7 +438,7 @@ source "drivers/s390/block/Kconfig"
config XILINX_SYSACE config XILINX_SYSACE
tristate "Xilinx SystemACE support" tristate "Xilinx SystemACE support"
depends on 4xx depends on 4xx || MICROBLAZE
help help
Include support for the Xilinx SystemACE CompactFlash interface Include support for the Xilinx SystemACE CompactFlash interface
......
...@@ -893,7 +893,7 @@ config DTLK ...@@ -893,7 +893,7 @@ config DTLK
config XILINX_HWICAP config XILINX_HWICAP
tristate "Xilinx HWICAP Support" tristate "Xilinx HWICAP Support"
depends on XILINX_VIRTEX depends on XILINX_VIRTEX || MICROBLAZE
help help
This option enables support for Xilinx Internal Configuration This option enables support for Xilinx Internal Configuration
Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
......
...@@ -69,7 +69,7 @@ comment "Memory mapped GPIO expanders:" ...@@ -69,7 +69,7 @@ comment "Memory mapped GPIO expanders:"
config GPIO_XILINX config GPIO_XILINX
bool "Xilinx GPIO support" bool "Xilinx GPIO support"
depends on PPC_OF depends on PPC_OF || MICROBLAZE
help help
Say yes here to support the Xilinx FPGA GPIO device Say yes here to support the Xilinx FPGA GPIO device
......
...@@ -192,7 +192,7 @@ config SERIO_RAW ...@@ -192,7 +192,7 @@ config SERIO_RAW
config SERIO_XILINX_XPS_PS2 config SERIO_XILINX_XPS_PS2
tristate "Xilinx XPS PS/2 Controller Support" tristate "Xilinx XPS PS/2 Controller Support"
depends on PPC depends on PPC || MICROBLAZE
help help
This driver supports XPS PS/2 IP from the Xilinx EDK on This driver supports XPS PS/2 IP from the Xilinx EDK on
PowerPC platform. PowerPC platform.
......
config OF_DEVICE config OF_DEVICE
def_bool y def_bool y
depends on OF && (SPARC || PPC_OF) depends on OF && (SPARC || PPC_OF || MICROBLAZE)
config OF_GPIO config OF_GPIO
def_bool y def_bool y
depends on OF && PPC_OF && GPIOLIB depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
help help
OpenFirmware GPIO accessors OpenFirmware GPIO accessors
config OF_I2C config OF_I2C
def_tristate I2C def_tristate I2C
depends on PPC_OF && I2C depends on (PPC_OF || MICROBLAZE) && I2C
help help
OpenFirmware I2C accessors OpenFirmware I2C accessors
config OF_SPI config OF_SPI
def_tristate SPI def_tristate SPI
depends on OF && PPC_OF && SPI depends on OF && (PPC_OF || MICROBLAZE) && SPI
help help
OpenFirmware SPI accessors OpenFirmware SPI accessors
...@@ -212,7 +212,7 @@ config SPI_TXX9 ...@@ -212,7 +212,7 @@ config SPI_TXX9
config SPI_XILINX config SPI_XILINX
tristate "Xilinx SPI controller" tristate "Xilinx SPI controller"
depends on XILINX_VIRTEX && EXPERIMENTAL depends on (XILINX_VIRTEX || MICROBLAZE) && EXPERIMENTAL
select SPI_BITBANG select SPI_BITBANG
help help
This exposes the SPI controller IP from the Xilinx EDK. This exposes the SPI controller IP from the Xilinx EDK.
......
...@@ -22,6 +22,7 @@ config USB_ARCH_HAS_HCD ...@@ -22,6 +22,7 @@ config USB_ARCH_HAS_HCD
default y if PCMCIA && !M32R # sl811_cs default y if PCMCIA && !M32R # sl811_cs
default y if ARM # SL-811 default y if ARM # SL-811
default y if SUPERH # r8a66597-hcd default y if SUPERH # r8a66597-hcd
default y if MICROBLAZE
default PCI default PCI
# many non-PCI SOC chips embed OHCI # many non-PCI SOC chips embed OHCI
......
...@@ -1996,7 +1996,7 @@ config FB_PS3_DEFAULT_SIZE_M ...@@ -1996,7 +1996,7 @@ config FB_PS3_DEFAULT_SIZE_M
config FB_XILINX config FB_XILINX
tristate "Xilinx frame buffer support" tristate "Xilinx frame buffer support"
depends on FB && XILINX_VIRTEX depends on FB && (XILINX_VIRTEX || MICROBLAZE)
select FB_CFB_FILLRECT select FB_CFB_FILLRECT
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册