x86: ivybridge: Fix PCH power setup
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:34 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commit4e0318c32f01e5178f9ddd29313fcb24a1584dd6
tree720f51439e05effcf209ef44eef7f1fcded665d6
parent5d7ec3d8d3f09293824d1486b33cbe578e896996
x86: ivybridge: Fix PCH power setup

At present pch_power_options() has the arguments to writel() around the
wrong way. Fix this and update it to compile on 64-bit machines.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/lpc.c