x86: baytrail: Support running as an EFI payload
authorSimon Glass <sjg@chromium.org>
Mon, 10 Aug 2015 13:05:12 +0000 (07:05 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 09:24:21 +0000 (03:24 -0600)
commitc8896ee481a2ca4a25f5f1f3c2d211dbc127bdb9
tree370a526f45bef3a43d527b280ecf0f9a75fbd085
parent46f8efee70313a4f8fb3831dadbc0530fcbfa9b6
x86: baytrail: Support running as an EFI payload

We should not fiddle with interrupts or the FSP when running as an EFI
payload. Detect this and skip this code.

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