u-boot-brain/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
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
ata dm: ahci: Avoid scsi_scan_dev() in ahci_probe_scsi() 2017-07-28 12:02:47 -06:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
bootcount powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
clk clk: fix compilation errors for poplar platform 2017-07-28 23:34:46 +02:00
core Merge git://git.denx.de/u-boot-usb 2017-07-29 11:43:51 -04:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr driver/ddr: Add support for setting timing in hws_topology_map 2017-07-12 06:56:48 +02:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu dfu: add common function to initiate transaction 2017-07-28 23:34:40 +02:00
dma imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga arm: socfpga: Add FPGA driver support for Arria 10 2017-07-26 10:31:44 +02:00
gpio dm: tegra: gpio: Convert to support livetree 2017-07-28 12:02:47 -06:00
i2c dm: tegra: i2c: Convert to livetree 2017-07-28 12:02:47 -06:00
input powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc rockchip: efuse: dm: change to use dev_read_addr 2017-07-27 14:59:00 +02:00
mmc dm: tegra: mmc: Convert to livetree 2017-07-28 12:02:47 -06:00
mtd configs: Migrate CMD_NAND* 2017-07-31 12:21:40 -04:00
net powerpc, 8xx: fix missing function declarations. 2017-07-23 09:23:29 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci dm: tegra: pci: Convert to livetree 2017-07-28 12:02:47 -06:00
pcmcia powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
phy phy: add a NO-OP phy driver 2017-07-28 23:34:44 +02:00
pinctrl dm: Kconfig: fix typo in help for SPL_PINCTRL 2017-07-31 11:22:53 -04:00
power dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
pwm dm: tegra: pwm: Convert to livetree 2017-07-28 12:02:47 -06:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram ram: stm32: add stm32h7 support 2017-07-26 11:29:15 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset reset: add reset_release_all() 2017-07-28 23:34:07 +02:00
rtc powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
scsi dm: scsi: Drop scsi_init() when driver model is used 2017-07-11 10:08:19 -06:00
serial dm: console: Check for serial devices properly 2017-07-31 12:21:40 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi dm: tegra: spi: Convert to livetree 2017-07-28 12:02:47 -06:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: rk322x: add sysreset driver 2017-07-11 12:13:46 +02:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer x86: tsc: Read all ratio bits from MSR_PLATFORM_INFO 2017-08-01 20:17:02 +08:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb Merge git://git.denx.de/u-boot-usb 2017-07-29 11:43:51 -04:00
video dm: video: tegra124: Convert to livetree 2017-07-28 12:02:47 -06:00
watchdog watchdog: Introduce watchdog driver for Intel Tangier 2017-07-30 10:30:25 +08:00
Kconfig scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
Makefile drivers: Enable FPGA driver build on SPL 2017-07-26 10:31:44 +02:00