u-boot-brain/arch/x86
Simon Glass a478a26cd0 x86: timer: Use a separate flag for whether timer is inited
At present the value of the timer base is used to determine whether the
timer has been set up or not. It is true that the timer is essentially
never exactly 0 when it is read. However 'time 0' may indicate the time
that the machine was reset so it is useful to be able to denote that.

Update the code to use a separate flag instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-11-03 07:20:27 +08:00
..
cpu x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
dts binman: x86: Separate out 16-bit reset and init code 2019-10-15 08:40:02 -06:00
include/asm x86: timer: Use a separate flag for whether timer is inited 2019-11-03 07:20:27 +08:00
lib x86: Add a function to find the size of an mrccache record 2019-10-11 17:37:19 +08:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00