intel/broadwell: Replace some __PRE_RAM__ use

Guards are required due to different PCI accessor
signatures.

Change-Id: I60e87f16a48565917f6ee9d05cc59d2b9373270c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35381
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2019-09-12 15:44:28 +03:00
parent 80f963ccd5
commit 55d0ab5dc4
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ u32 pch_read_soft_strap(int id)
return SPIBAR32(SPIBAR_FDOD);
}
#ifndef __PRE_RAM__
#ifndef __SIMPLE_DEVICE__
/* Put device in D3Hot Power State */
static void pch_enable_d3hot(struct device *dev)