2015-07-06 11:09:47 -04:00
|
|
|
# Kconfig - generic PC platform configuration options
|
2015-05-20 11:40:39 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
|
|
|
|
2015-09-25 10:03:08 -04:00
|
|
|
if PLATFORM_IA32
|
|
|
|
|
2015-06-15 16:43:35 -04:00
|
|
|
config PLATFORM
|
2015-03-12 16:15:28 -06:00
|
|
|
string
|
2015-07-16 15:47:25 -04:00
|
|
|
default ia32
|
2015-03-12 16:15:28 -06:00
|
|
|
help
|
2015-06-16 14:24:18 -04:00
|
|
|
This option holds the directory name used by the build system to locate
|
|
|
|
the correct linker file.
|
2015-03-12 16:15:28 -06:00
|
|
|
|
|
|
|
config PHYS_LOAD_ADDR
|
|
|
|
default 0x00100000
|
|
|
|
|
2015-11-21 23:21:16 -05:00
|
|
|
config PHYS_RAM_ADDR
|
|
|
|
default 0x00400000
|
|
|
|
|
2015-10-14 15:46:41 -04:00
|
|
|
config RAM_SIZE
|
|
|
|
default 128 if XIP
|
|
|
|
default 192
|
|
|
|
|
|
|
|
config ROM_SIZE
|
|
|
|
default 72 if XIP
|
|
|
|
|
2015-03-12 16:15:28 -06:00
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
2015-07-22 16:22:25 -04:00
|
|
|
default 150000000 if LOAPIC_TIMER
|
|
|
|
default 25000000 if HPET_TIMER
|
2015-09-25 10:03:08 -04:00
|
|
|
|
2015-10-26 15:56:02 -04:00
|
|
|
config KERNEL_INIT_PRIORITY_DEFAULT
|
|
|
|
default 40
|
|
|
|
|
|
|
|
config KERNEL_INIT_PRIORITY_DEVICE
|
|
|
|
default 50
|
|
|
|
|
|
|
|
config UART_CONSOLE_PRIORITY
|
|
|
|
default 60
|
|
|
|
|
|
|
|
config IPI_CONSOLE_PRIORITY
|
|
|
|
default 60
|
|
|
|
|
2015-09-25 10:03:08 -04:00
|
|
|
endif
|