]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blobdiff - arch/m68k/Kconfig
Current (FEC from 2.6.31 port, no CAN, no I2C, no PCI)
[mcf548x/linux.git] / arch / m68k / Kconfig
index bc9271b85759b51397a97825110184f7491cb286..529362eb7769dafa99452906848fa6499b0396de 100644 (file)
@@ -9,6 +9,14 @@ config MMU
        bool
        default y
 
+config GENERIC_TIME
+  bool "Enable generic timer"
+  default n
+
+config GENERIC_CLOCKEVENTS
+  bool "Enable generic clockevents"
+  default n
+
 config RWSEM_GENERIC_SPINLOCK
        bool
        default y
@@ -46,7 +54,7 @@ config ARCH_MAY_HAVE_PC_FDC
        default y
 
 config NO_IOPORT
-       def_bool y
+       def_bool !(M5445X || M547X_8X) 
 
 config NO_DMA
        def_bool SUN3
@@ -105,6 +113,35 @@ config PCMCIA
          To compile this driver as modules, choose M here: the
          modules will be called pcmcia_core and ds.
 
+config COLDFIRE
+       bool "ColdFire V4e support"
+       default y
+       select CFV4E
+       help
+               Say Y if you want to build a kernel to run on one of the ColdFire
+               V4e boards.
+
+config CFV4E
+       bool
+       depends on COLDFIRE
+       select MMU_CFV4E if MMU
+       default y
+
+config FPU
+       bool "ColdFire V4e FPU support"
+       default n
+       help
+               This enables support for CFV4E FPU feature.
+
+config MCD_DMA
+       bool "ColdFire MCD DMA support"
+       depends on M547X_8X
+       default y
+       help
+               This enables support for the ColdFire 547x/548x family
+               multichannel DMA support.  Many drivers need it.
+               If you want it, say Y
+
 config AMIGA
        bool "Amiga support"
        select MMU_MOTOROLA if MMU
@@ -276,9 +313,207 @@ config M68060
          If you anticipate running this kernel on a computer with a MC68060
          processor, say Y. Otherwise, say N.
 
+config M5445X
+       bool "MCF5445x support"
+       depends on COLDFIRE
+       select GENERIC_TIME
+       select USB_EHCI_FSL
+       select HAVE_FSL_USB_DR
+       help
+               This option will add support for the MCF544x processor with mmu.
+
+config M54451
+       bool
+       depends on M5445X
+       default n
+
+config M54455
+       bool
+       depends on M5445X
+       default n
+
+choice
+       prompt "Model"
+       depends on M5445X
+       default M54451EVB
+       config M54451EVB
+               bool "M54451EVB"
+               select M54451
+       config M54455EVB
+               bool "M54455EVB"
+               select M54455
+endchoice
+
+config HAVE_FSL_USB_DR
+       bool
+       default n
+
+config M547X_8X
+       bool "MCF547x/MCF548x support"
+       depends on COLDFIRE
+       help
+               This option will add support for the MCF547x/MCF548x processor with mmu.
+
+config M547X
+       bool
+       depends on M547X_8X
+       default n
+
+config M548X
+       bool
+       depends on M547X_8X
+       default n
+
+choice
+       prompt "Model"
+       depends on M547X_8X
+       default M5485CFE
+
+config M5474LITE
+       bool "MCF5474LITE"
+       select M547X
+
+config M5475AFE
+       bool "MCF5475AFE"
+       select M547X
+       
+config M5475BFE
+       bool "MCF5475BFE"
+       select M547X
+       
+config M5475CFE
+       bool "MCF5475CFE"
+       select M547X
+       
+config M5475DFE
+       bool "MCF5475DFE"
+       select M547X
+       
+config M5475EFE
+       bool "MCF5475EFE"
+       select M547X
+       
+config M5475FFE
+       bool "MCF5475FFE"
+       select M547X
+
+config M5484LITE
+       bool "MCF5484LITE"
+       select M548X
+       
+config M5485AFE
+       bool "MCF5485AFE"
+       select M548X
+       
+config M5485BFE
+       bool "MCF5485BFE"
+       select M548X
+       
+config M5485CFE
+       bool "MCF5485CFE"
+       select M548X
+       
+config M5485DFE
+       bool "MCF5485DFE"
+       select M548X
+       
+config M5485EFE
+       bool "MCF5485EFE"
+       select M548X
+       
+config M5485FFE
+       bool "MCF5485FFE"
+       select M548X
+
+endchoice
+
+
+config MCFCLK
+       int
+       default 240000000 if M54451EVB
+       default 266666666 if M54455EVB
+       default 266000000 if M547X
+       default 200000000 if M548X
+       help
+               Coldfire System clock.
+
+config MCF_USER_HALT
+       bool "Coldfire User Halt Enable"
+       depends on M5445X || M547X_8X
+       default n
+       help
+               Enables the HALT instruction in User Mode. XXX: Point of this?
+
 config MMU_MOTOROLA
        bool
 
+config MMU_CFV4E
+       bool
+
+config SDRAM_BASE
+       hex
+       depends on COLDFIRE
+       default 0x40000000 if M5445X
+       default 0x00000000 if M547X_8X
+
+config SDRAM_SIZE
+       hex
+       depends on COLDFIRE
+       default 0x08000000 if M54451EVB
+       default 0x10000000 if M54455EVB
+       default 0x04000000 if M547X_8X
+
+config NOR_FLASH_BASE
+       hex "NOR Flash Base Address"
+       depends on COLDFIRE
+       default 0x00000000 if M54451EVB
+       default 0x00000000 if M54455EVB
+       default 0xE0000000 if M5475CFE
+       default 0xE0000000 if M5485CFE
+       default 0xFF800000 if M5484LITE
+       default 0xFF800000 if M5474LITE
+
+config DMA_BASE
+       hex
+       depends on COLDFIRE
+       default 0xef000000
+
+config DMA_SIZE
+       hex
+       depends on COLDFIRE
+       default 0x1000000 if M5445X
+       default 0x800000 if M547X_8X
+
+config SRAM
+       bool "SRAM allocation APIs support on mcfv4 platform"
+       depends on COLDFIRE && M5445X
+       default y
+       select GENERIC_ALLOCATOR
+
+config SRAM_BASE
+       hex
+       depends on COLDFIRE && SRAM
+       default 0x8ff00000 if M5445X
+
+config SRAM_SIZE
+       hex
+       depends on COLDFIRE && SRAM
+       default 0x8000 if M5445X
+
+config SRAM_ALLOC_GRANULARITY
+       hex
+       depends on SRAM
+       default 0x200 if M5445X
+
+config VDSO
+       bool "Support VDSO page"
+       depends on MMU
+       default n
+       help
+               This will enable support for the kernel mapping a vDSO page
+               in process space, and subsequently handing down the entry point
+               to the libc through the ELF auxiliary vector.
+
 config MMU_SUN3
        bool
        depends on MMU && !MMU_MOTOROLA
@@ -601,6 +836,8 @@ config SERIAL_CONSOLE
          If you don't have a VGA card installed and you say Y here, the
          kernel will automatically use the first serial line, /dev/ttyS0, as
          system console.
+         
+         TODO: For Coldfire it's CONFIG_SERIAL_MCF_CONSOLE ...
 
          If unsure, say N.