2018-07-13 05:28:58 +08:00
|
|
|
|
|
|
|
if BOARD_UP_SQUARED
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "up_squared"
|
|
|
|
|
|
|
|
config BUILD_OUTPUT_STRIPPED
|
|
|
|
def_bool y
|
|
|
|
|
2018-07-24 05:35:15 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_DW
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2018-09-20 01:15:11 +08:00
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
# HPET Timer: 19.2MHz
|
|
|
|
default 19200000 if HPET_TIMER
|
|
|
|
# Atom E3940 TSC: 1593.600MHz
|
|
|
|
default 1593600000 if (LOAPIC_TIMER && BOARD_UP_SQUARED_ATOM)
|
|
|
|
# Celeron N3550 base core freq: 1.1GHz
|
|
|
|
default 1100000000 if (LOAPIC_TIMER && BOARD_UP_SQUARED_CELERON)
|
|
|
|
# Pentium N3550 base core freq: 1.1GHz
|
|
|
|
default 1100000000 if (LOAPIC_TIMER && BOARD_UP_SQUARED_PENTIUM)
|
|
|
|
|
2018-07-13 05:28:58 +08:00
|
|
|
endif # BOARD_UP_SQUARED
|