basic_atom: update default SYS_CLOCK_HW_CYCLES_PER_SEC

The basic_atom uses the LOAPIC timer, which means that the proper value for
SYS_CLOCK_HW_CYCLES_PER_SEC is dependent upon the hardware.  Although the
proper value for the atom_n28xx hardware is 150000000, that value does not
necessarily play well with QEMU and the host development platform as it has
been observed on many development boxes to result in a real tick frequency
that is too high.

It is recognized that the developer's host platform can not be controlled for
and that the new value of 900000000 will not be ideal for all systems. Pending
further feedback, it should be an improvement over the previous.

Change-Id: Ibe4e1ad91d3b3ae090893ff3dc855b4343972e24
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-07-22 16:32:30 -04:00 committed by Anas Nashif
commit fee3e3c308
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ CONFIG_MICROKERNEL=y
# General Kernel Options
#
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=150000000
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=900000000
CONFIG_SYS_CLOCK_EXISTS=y
# CONFIG_INIT_STACKS is not set
# CONFIG_XIP is not set

View file

@ -11,7 +11,7 @@ CONFIG_NANOKERNEL=y
# General Kernel Options
#
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=150000000
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=900000000
CONFIG_SYS_CLOCK_EXISTS=y
# CONFIG_INIT_STACKS is not set
# CONFIG_XIP is not set