URL
https://opencores.org/ocsvn/c0or1k/c0or1k/trunk
Subversion Repositories c0or1k
[/] [c0or1k/] [trunk/] [config/] [cml/] [arm.ruleset] - Rev 2
Compare with Previous | Blame | View Log
start main_menu############## SYMBOLS ##############symbolsARCH_ARM 'ARM'arm_cpu_type 'ARM Processor Type'CPU_ARM1136 'ARM1136 - Experimental'CPU_ARM11MPCORE 'ARM11 MPCore - Experimental'CPU_ARM926 'ARM926EJ-S'CPU_CORTEXA8 'ARM Cortex-A8'CPU_CORTEXA9 'ARM Cortex-A9'arm_platform_type 'ARM Platform Type'PLATFORM_EB 'Realview EB Platform'PLATFORM_PBA8 'Realview PB-A8 Platform, To be added'PLATFORM_PB926 'Versatile PB926 Platform'PLATFORM_PB11MPCORE 'Realview PB11MPCore Platform'PLATFORM_BEAGLE 'OMAP3530/Cortex-A8 Beagle Board'PLATFORM_PBA9 'Realview Express Cortex-A9'main_menu 'Codezero Microkernel Configurator'arm_menu 'ARM Architecture Configuration'arm_cpu_menu 'ARM CPU type'arm_platform_menu 'ARM Platform Type'processor_properties 'Generic Processor Properties'kernel_generic_options 'Generic Kernel Properties'toolchain_menu 'Toolchain Prefix'containers_menu 'Container Setup'arch_type 'Main architecture'SMP 'Enable SMP Support'NCPU 'Number of SMP CPUs'DEBUG_ACCOUNTING 'Enable system operations accounting'DEBUG_PERFMON 'Enable performance monitoring'DEBUG_PERFMON_USER 'Userspace access to perfmon registers (in-kernel measurements disabled)'DEBUG_SPINLOCKS 'Debug spinlocks, e.g. detect recursive locks, double unlocks'SCHED_TICKS 'Scheduler ticks per second'ICACHE_DISABLE 'Disable the L1 instruction cache'DCACHE_DISABLE 'Disable the L1 data cache'PREEMPT_DISABLE 'Disable Kernel Preemption'TOOLCHAIN_USERSPACE 'Toolchain prefix for userspace'TOOLCHAIN_KERNEL 'Toolchain prefix for kernel'CAPABILITIES 'Enable capability checking'############## CHOICES ##############choices arch_typeARCH_ARMdefault ARCH_ARMchoices arm_platform_typePLATFORM_EBPLATFORM_PBA8PLATFORM_PB926PLATFORM_PB11MPCOREPLATFORM_BEAGLEPLATFORM_PBA9default PLATFORM_PB926choices arm_cpu_typeCPU_ARM926CPU_ARM1136CPU_ARM11MPCORECPU_CORTEXA8CPU_CORTEXA9default CPU_ARM926############## MENUS ##############menu arm_cpu_menuarm_cpu_typemenu arm_platform_menuarm_platform_typemenu arm_menuarm_platform_menuarm_cpu_menumenu processor_propertiesSMPNCPU%ICACHE_DISABLEDCACHE_DISABLEmenu kernel_generic_optionsPREEMPT_DISABLEDEBUG_ACCOUNTINGDEBUG_PERFMONDEBUG_PERFMON_USERDEBUG_SPINLOCKSSCHED_TICKS%menu toolchain_menuTOOLCHAIN_USERSPACE$TOOLCHAIN_KERNEL$menu main_menuarch_typearm_menuprocessor_propertieskernel_generic_optionstoolchain_menucontainers_menu############## RULES ###############Capability/Container rules:default CAPABILITIES from ydefault DEBUG_ACCOUNTING from ndefault DEBUG_PERFMON from ndefault DEBUG_PERFMON_USER from ndefault DEBUG_SPINLOCKS from ndefault SCHED_TICKS from 1000derive DEBUG_PERFMON_KERNEL from DEBUG_PERFMON == y and DEBUG_PERFMON_USER != y#Subarch Derivation Rulesderive SUBARCH_V5 from CPU_ARM926derive SUBARCH_V6 from CPU_ARM1136 orCPU_ARM11MPCOREderive SUBARCH_V7 from CPU_CORTEXA8 orCPU_CORTEXA9#CPU rules:unless PLATFORM_PB926 suppress CPU_ARM926unless PLATFORM_PB11MPCORE or PLATFORM_EB suppress CPU_ARM11MPCOREunless PLATFORM_EB suppress CPU_ARM1136unless PLATFORM_PBA9 or PLATFORM_EB suppress CPU_CORTEXA9unless PLATFORM_BEAGLE orPLATFORM_PBA8 orPLATFORM_EB suppress CPU_CORTEXA8#SMP support rulesunless CPU_CORTEXA9 or CPU_ARM11MPCORE suppress SMPunless CPU_CORTEXA9 or CPU_ARM11MPCORE suppress NCPUunless SMP suppress NCPUunless DEBUG_ACCOUNTING suppress DEBUG_PERFMONDEBUG_PERFMON_USERunless DEBUG_PERFMON suppress DEBUG_PERFMON_USER# NOTE: Unlike menus, choices dont take { sym } model of visibility# dependencies. Instead, a choice symbol is declared in a menu, and# suppress statement is used to make sym visible, instead of a# { sym } model under the choices. (See manual for { sym } usage).unless ARCH_ARM suppress arm_menuderive DRIVER_UART_PL011 from PLATFORM_PB926 orPLATFORM_PB11MPCORE orPLATFORM_PBA9 orPLATFORM_EB orPLATFORM_PBA8derive DRIVER_TIMER_SP804 from PLATFORM_PB926 orPLATFORM_PB11MPCORE orPLATFORM_PBA9 orPLATFORM_EB orPLATFORM_PBA8derive DRIVER_IRQ_PL190 from PLATFORM_PB926derive DRIVER_IRQ_GIC from PLATFORM_PB11MPCORE orPLATFORM_PBA9 orPLATFORM_EB orPLATFORM_PBA8derive DRIVER_UART_OMAP from PLATFORM_BEAGLEderive DRIVER_TIMER_OMAP from PLATFORM_BEAGLEderive DRIVER_INTC_OMAP from PLATFORM_BEAGLE#SMP default valuedefault SMP from ydefault NCPU from 4default ICACHE_DISABLE from ndefault DCACHE_DISABLE from ndefault PREEMPT_DISABLE from nrequire NCPU <= 4# Derive Ram base address depending on platform selected# we use this in setting containers physical regions# default values# FIXME: Find a better solutionderive RAM_BASE_PLAT from PLATFORM_BEAGLE ? 0x80000000 : 0x00000000# Toolchains:default TOOLCHAIN_USERSPACE from 'arm-none-linux-gnueabi-'default TOOLCHAIN_KERNEL from 'arm-none-eabi-'prefix CONFIG_# Checklist for correct CML2# 1) Have you defined a prompt for each menu, choice_type?# 2) Have you defined a default for each symbol?# 3) Have you put 'symbols' keyword before each symbol, menu and choice?# Important note on derived symbols# DO NOT place any declaration for derived symbols like normal symbols,# otherwise the derivation will be silently ignored, and you will be left# wondering why.
