URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [or32/] [config.in] - Rev 1765
Compare with Previous | Blame | View Log
## For a description of the syntax of this configuration file,# see Documentation/kbuild/config-language.txt.#mainmenu_name "Linux/or32 Kernel Configuration"define_bool CONFIG_OR32 ydefine_bool CONFIG_UID16 ydefine_bool CONFIG_RWSEM_GENERIC_SPINLOCK ydefine_bool CONFIG_RWSEM_XCHGADD_ALGORITHM nmainmenu_option next_commentcomment 'Code maturity level options'bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTALendmenumainmenu_option next_commentcomment 'Loadable module support'bool 'Enable loadable module support' CONFIG_MODULESif [ "$CONFIG_MODULES" = "y" ]; thenbool ' Set version information on all module symbols' CONFIG_MODVERSIONSbool ' Kernel module loader' CONFIG_KMODfiendmenumainmenu_option next_commentcomment 'Processor type and features'choice 'SoC type' \"or1200/Marvin CONFIG_OR32_MARVIN \or1200/Highland CONFIG_OR32_HIGHLAND \or1200/Generic CONFIG_OR32_GENERIC" or1200/Marvin## Define implied options for the selected SoC#if [ "$CONFIG_OR32_MARVIN" = "y" ]; thendefine_bool CONFIG_OR32_CPU_OR1200 ydefine_int CONFIG_OR32_MC_VERSION 1define_bool CONFIG_OR32_MC_INIT ydefine_bool CONFIG_OR32_ICACHE_ENABLED ydefine_int CONFIG_OR32_IC_SIZE 8192define_int CONFIG_OR32_IC_LINE 16define_bool CONFIG_OR32_DCACHE_ENABLED ydefine_int CONFIG_OR32_DC_SIZE 8192define_int CONFIG_OR32_DC_LINE 16define_int CONFIG_OR32_ITLB_ENTRIES 64define_int CONFIG_OR32_DTLB_ENTRIES 64define_int CONFIG_OR32_NO_SPR_SR_DSX ydefint_bool CONFIG_OR32_GUARD_PROTECTED_CORE yelif [ "$CONFIG_OR32_HIGHLAND" = "y" ]; thendefine_bool CONFIG_OR32_CPU_OR1200 ydefine_int CONFIG_OR32_MC_VERSION 2define_bool CONFIG_OR32_MC_INIT ydefine_bool CONFIG_OR32_ICACHE_ENABLED ydefine_int CONFIG_OR32_IC_SIZE 8192define_int CONFIG_OR32_IC_LINE 16define_bool CONFIG_OR32_DCACHE_ENABLED ydefine_int CONFIG_OR32_DC_SIZE 8192define_int CONFIG_OR32_DC_LINE 16define_int CONFIG_OR32_ITLB_ENTRIES 64define_int CONFIG_OR32_DTLB_ENTRIES 64define_int CONFIG_OR32_NO_SPR_SR_DSX ydefint_bool CONFIG_OR32_GUARD_PROTECTED_CORE y# default memory timings#bool "Use default Highland memory timings" CONFIG_OR32_HIGHLAND_DEFAULT_MEMORY_TIMINGS yif [ "$CONFIG_OR32_HIGHLAND_DEFAULT_MEMORY_TIMINGS" = "n" ]; thendefine_bool CONFIG_OR32_GENERIC_MEMORY_TIMINGS y## FLASH timings: worst cases in ns, from data sheetsint 'Flash Write Access Time [ns]' CONFIG_OR32_FLASH_WA_TIME 50int 'Flash Write Enable Delay [ns]' CONFIG_OR32_FLASH_WE_DELAY 0int 'Flash Write Hold Time [ns]' CONFIG_OR32_FLASH_WH_TIME 0int 'Flash Read Access Time [ns]' CONFIG_OR32_FLASH_RA_TIME 95int 'Flash Page Read Access Time [ns]' CONFIG_OR32_FLASH_PRA_TIME 25int 'Flash Read Turnaround Time [ns]' CONFIG_OR32_FLASH_RT_TIME 24## SDRAM timings: worst cases in ns, from data sheetsint 'SDRAM tRCD [ns]' CONFIG_OR32_SDRAM_tRCD 23int 'SDRAM tWR [ns]' CONFIG_OR32_SDRAM_tWR 20int 'SDRAM tRC [ns]' CONFIG_OR32_SDRAM_tRC 60int 'SDRAM tRFC (sometimes the same as tRC) [ns]' \CONFIG_OR32_SDRAM_tRFC 60int 'SDRAM tRAS (use the worst case minimal value) [ns]' \CONFIG_OR32_SDRAM_tRAS 50int 'SDRAM tRP [ns]' CONFIG_OR32_SDRAM_tRP 23int 'SDRAM tRRD [ns]' CONFIG_OR32_SDRAM_tRRD 15# 64000000 / 8192 = 7812.5int 'SDRAM tREF (round it up) [ns]' CONFIG_OR32_SDRAM_tREF 7813fielsedefine_bool CONFIG_OR32_CPU_OR1200 yfiint 'System clock frequency (MHz)' CONFIG_OR32_SYS_CLK 25hex 'System memory size (hex)' CONFIG_OR32_MEMORY_SIZE 01000000bool 'Boot from flash (copy the image to RAM)' CONFIG_OR32_FLASH_BOOTif [ "$CONFIG_OR32_GENERIC" = "y" ]; then# memory controler settings#bool 'Enable memory controler initialization' CONFIG_OR32_MC_INITint 'Memory controler version (1 or 2)' CONFIG_OR32_MC_VERSION 1# memory timings#if [ "$CONFIG_OR32_MC_VERSION" = "2" ]; thenbool 'Specify memory timings (only for MC ver. 2)' CONFIG_OR32_GENERIC_TIMINGS yif [ "$CONFIG_OR32_GENERIC_TIMINGS" = "n" ]; thendefine_bool CONFIG_OR32_HIGHLAND_DEFAULT_MEMORY_TIMINGS yelse## FLASH timings: worst cases in ns, from data sheetsint 'Flash Write Access Time [ns]' CONFIG_OR32_FLASH_WA_TIME 50int 'Flash Write Enable Delay [ns]' CONFIG_OR32_FLASH_WE_DELAY 0int 'Flash Write Hold Time [ns]' CONFIG_OR32_FLASH_WH_TIME 0int 'Flash Read Access Time [ns]' CONFIG_OR32_FLASH_RA_TIME 95int 'Flash Page Read Access Time [ns]' CONFIG_OR32_FLASH_PRA_TIME 25int 'Flash Read Turnaround Time [ns]' CONFIG_OR32_FLASH_RT_TIME 24## SDRAM timings: worst cases in ns, from data sheetsint 'SDRAM tRCD [ns]' CONFIG_OR32_SDRAM_tRCD 23int 'SDRAM tWR [ns]' CONFIG_OR32_SDRAM_tWR 20int 'SDRAM tRC [ns]' CONFIG_OR32_SDRAM_tRC 60int 'SDRAM tRFC (sometimes the same as tRC) [ns]' \CONFIG_OR32_SDRAM_tRFC 60int 'SDRAM tRAS (use the worst case minimal value) [ns]' \CONFIG_OR32_SDRAM_tRAS 50int 'SDRAM tRP [ns]' CONFIG_OR32_SDRAM_tRP 23int 'SDRAM tRRD [ns]' CONFIG_OR32_SDRAM_tRRD 15# 64000000 / 8192 = 7812.5int 'SDRAM tREF (round it up) [ns]' CONFIG_OR32_SDRAM_tREF 7813fifibool 'Enable instruction cache' CONFIG_OR32_ICACHE_ENABLEDif [ "$CONFIG_OR32_ICACHE_ENABLED" = "y" ]; thenint 'Size of instruction cache' CONFIG_OR32_IC_SIZE 8192int 'Size of instruction cache line' CONFIG_OR32_IC_LINE 16else# define some sane default valuesdefine_int CONFIG_OR32_IC_SIZE 8192define_int CONFIG_OR32_IC_LINE 16fibool 'Enable data cache' CONFIG_OR32_DCACHE_ENABLEDif [ "$CONFIG_OR32_DCACHE_ENABLED" = "y" ]; thenint 'Size of data cache' CONFIG_OR32_DC_SIZE 8192int 'Size of data cache line' CONFIG_OR32_DC_LINE 16else# define some sane default valuesdefine_int CONFIG_OR32_DC_SIZE 8192define_int CONFIG_OR32_DC_LINE 16fiint 'Number of iTLB sets' CONFIG_OR32_ITLB_ENTRIES 64int 'Number of dTLB sets' CONFIG_OR32_DTLB_ENTRIES 64bool 'Workaround for SPR_SR_DSX bit not beeing set at exception in delay slot' CONFIG_OR32_NO_SPR_SR_DSX nfibool 'Upon unhandled exception jump to start of flash (0xf0000100)' CONFIG_JUMP_UPON_UNHANDLED_EXCEPTION ybool 'Check for kernel stack overflow' CONFIG_DEBUG_STACKOVERFLOW ybool 'Protect .text and .rodata sections' CONFIG_OR32_GUARD_PROTECTED_CORE ybool 'Print status at each exception (for debugging purposes)' CONFIG_OR32_EXCEPTION_DEBUG nendmenu# OpenRISC specific driverssource arch/or32/drivers/Config.inmainmenu_option next_commentcomment 'General setup'define_bool CONFIG_ISA ndefine_bool CONFIG_EISA ndefine_bool CONFIG_MCA ndefine_bool CONFIG_SBUS nbool 'Networking support' CONFIG_NETbool 'PCI support' CONFIG_PCIsource drivers/pci/Config.inbool 'Support for hot-pluggable devices' CONFIG_HOTPLUGif [ "$CONFIG_HOTPLUG" = "y" ] ; thensource drivers/pcmcia/Config.inelsedefine_bool CONFIG_PCMCIA nfibool 'System V IPC' CONFIG_SYSVIPCbool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCTbool 'Sysctl support' CONFIG_SYSCTLif [ "$CONFIG_PROC_FS" = "y" ]; thenchoice 'Kernel core (/proc/kcore) format' \"ELF CONFIG_KCORE_ELF \A.OUT CONFIG_KCORE_AOUT" ELFfitristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELFtristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISCsource drivers/parport/Config.inendmenusource drivers/mtd/Config.insource drivers/block/Config.insource drivers/md/Config.inif [ "$CONFIG_NET" = "y" ]; thensource net/Config.infimainmenu_option next_commentcomment 'ATA/IDE/MFM/RLL support'tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDEif [ "$CONFIG_IDE" != "n" ]; thensource drivers/ide/Config.inelsedefine_bool CONFIG_BLK_DEV_IDE_MODES ndefine_bool CONFIG_BLK_DEV_HD nfiendmenumainmenu_option next_commentcomment 'SCSI support'tristate 'SCSI support' CONFIG_SCSIif [ "$CONFIG_SCSI" != "n" ]; thensource drivers/scsi/Config.infiendmenusource drivers/ieee1394/Config.inif [ "$CONFIG_NET" = "y" ]; thenmainmenu_option next_commentcomment 'Network device support'bool 'Network device support' CONFIG_NETDEVICESif [ "$CONFIG_NETDEVICES" = "y" ]; thensource drivers/net/Config.inif [ "$CONFIG_ATM" = "y" ]; thensource drivers/atm/Config.infifiendmenufimainmenu_option next_commentcomment 'Old CD-ROM drivers (not SCSI, not IDE)'bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSIif [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; thensource drivers/cdrom/Config.infiendmenu## input before char - char/joystick depends on it. As does USB.#source drivers/input/Config.inmainmenu_option next_commentcomment 'Character devices'bool 'Virtual terminal' CONFIG_VTif [ "$CONFIG_VT" = "y" ]; thenbool ' Support for console on virtual terminal' CONFIG_VT_CONSOLEfitristate 'Serial (8250, 16450, 16550 or compatible) support' CONFIG_SERIALif [ "$CONFIG_SERIAL" = "y" ]; thenbool ' Support for console on serial port' CONFIG_SERIAL_CONSOLEficomment 'Unix 98 PTY support'bool 'Unix98 PTY support' CONFIG_UNIX98_PTYSif [ "$CONFIG_UNIX98_PTYS" = "y" ]; thenint 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256fisource drivers/char/joystick/Config.inif [ "$CONFIG_PARPORT" != "n" ]; thendep_tristate 'Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORTif [ "$CONFIG_PRINTER" != "n" ]; thenbool ' Support for console on line printer' CONFIG_LP_CONSOLEfidep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORTfibool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSEtristate 'Enhanced Real Time Clock Support' CONFIG_RTCif [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; thensource drivers/char/pcmcia/Config.infiendmenusource fs/Config.insource drivers/media/Config.inif [ "$CONFIG_VT" = "y" ]; thenmainmenu_option next_commentcomment 'Console drivers'bool 'VGA text console' CONFIG_VGA_CONSOLEbool 'Video mode selection support' CONFIG_VIDEO_SELECTif [ "$CONFIG_EXPERIMENTAL" = "y" ]; thentristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLEsource drivers/video/Config.infiendmenufimainmenu_option next_commentcomment 'Sound'tristate 'Sound card support' CONFIG_SOUNDif [ "$CONFIG_SOUND" != "n" ]; thensource drivers/sound/Config.infiendmenumainmenu_option next_commentcomment 'Kernel hacking'bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQendmenusource lib/Config.in
