intel/fsp1_0,baytrail,rangeley: Tidy up use of preprocessor

Remove cases of __PRE_RAM__ and other preprocessor guards.

Change-Id: Id295227df344fb209d7d5fd12e82aa450198bbb8
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34928
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: David Guckian
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki
2019-08-17 06:47:50 +03:00
parent 12b121cdb4
commit 8e23bac97e
25 changed files with 41 additions and 132 deletions

View File

@@ -43,9 +43,7 @@ are permitted provided that the following conditions are met:
//
// Pointer to the HOB should be initialized with the output of FSP INIT PARAMS
//
#ifndef __PRE_RAM__
extern volatile void *FspHobListPtr;
#endif
/**
Reads a 64-bit value from memory that may be unaligned.
@@ -116,12 +114,8 @@ GetHobList (
VOID
)
{
#ifndef __PRE_RAM__
ASSERT (FspHobListPtr != NULL);
return ((VOID *)FspHobListPtr);
#else
return ((VOID *)NULL);
#endif
}
/**