x86: broadwell: Update PCH to work in TPL
authorSimon Glass <sjg@chromium.org>
Thu, 2 May 2019 16:52:26 +0000 (10:52 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:18 +0000 (13:02 +0800)
commitbfeeb8d863de070b1f9a2cf17f5e491557c5ecb5
treee71570c56f64342fee4ce119c71b535220c17ded
parent31d5261d3599dd7e1868e93e95076ac5d7468b3c
x86: broadwell: Update PCH to work in TPL

The early init should only happen once. Update the probe method to
deal with TPL, SPL and U-Boot proper.

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