commit | 6885afe4322b39d396daa4d69d9b5dd4881bb6ab | [log] [tgz] |
---|---|---|
author | Mulin Chao <mlchao@nuvoton.com> | Tue May 25 23:09:50 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Jun 21 18:47:31 2021 -0400 |
tree | 0f0bba7fcb725f8fb2bf857f8265d613499d8038 | |
parent | 009388a321fd61263133503d1f7cb1ac1e60de10 [diff] |
driver: timer: npcx: add check for system kernel timer frequency In npcx series, we use ITIM64 as system kernel timer. Its source clock frequency must equal to CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC. This CL added check during initialization to prevent ambiguous condition. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>