commit | 4ca586e62ddbb485831a13c268c5667f283e805d | [log] [tgz] |
---|---|---|
author | Leandro Pereira <leandro.pereira@intel.com> | Mon Jun 12 17:47:25 2017 -0700 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Jun 21 12:35:49 2017 -0400 |
tree | 9d892eeb2ee46c3d18a65fc5793ec93b711d0038 | |
parent | d58d5d1265ab28730d0650cea9c6e305e3041d30 [diff] |
arch: xtensa: Use Zephyr configuration options Unconditionally use CONFIG_SIMULATOR_XTENSA to determine if XT_SIMULATOR or XT_BOARD should be defined. If CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC, also define XT_CLOCK_FREQ. This isn't ideal as the clock frequency might be changed in runtime and this effectively makes it a constant. Until we can control the clock frequency in runtime, this will suffice. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>