Files
u-boot/drivers
Bin Meng d92e9c8d31 x86: tsc: Read all ratio bits from MSR_PLATFORM_INFO
Currently we read the tsc radio like this:

	ratio = (MSR_PLATFORM_INFO >> 8) & 0x1f;

Thus we get bit 8-12 of MSR_PLATFORM_INFO, however according to the
Intel manual, the ratio bits are bit 8-15.

Fix this problem by masking 0xff instead.

This keeps in sync with Linux kernel commit:
  886123f: x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-08-01 20:17:02 +08:00
..
2017-06-01 07:03:13 -06:00
2017-07-03 17:35:28 -04:00
2017-07-29 11:43:51 -04:00
2017-05-22 12:38:15 -04:00
2017-07-28 12:02:47 -06:00
2017-07-28 12:02:47 -06:00
2017-07-31 12:21:40 -04:00
2017-07-28 12:02:47 -06:00
2017-07-28 23:34:44 +02:00
2017-07-28 12:02:47 -06:00
2017-06-01 19:56:54 -07:00
2017-07-26 11:29:15 -04:00
2017-07-28 23:34:07 +02:00
2016-02-06 12:00:59 +01:00
2017-06-01 07:03:10 -06:00
2017-07-28 12:02:47 -06:00
2017-06-01 07:03:01 -06:00
2017-05-18 11:23:31 +02:00
2017-06-01 07:03:01 -06:00
2017-07-29 11:43:51 -04:00