src/: Replace some __PRE_RAM__ use
Change-Id: Iaa56e7b98aad33eeb876edd7465c56c80fd1ac18 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35398 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
#endif
|
||||
|
||||
#define POLL_DELAY 100 /* 100us */
|
||||
#if defined(__PRE_RAM__)
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
#define EMPTY_DEV 0
|
||||
#else
|
||||
#define EMPTY_DEV NULL
|
||||
@@ -68,7 +69,7 @@ reg_script_get_step(struct reg_script_context *ctx)
|
||||
|
||||
static struct resource *reg_script_get_resource(struct reg_script_context *ctx)
|
||||
{
|
||||
#if defined(__PRE_RAM__)
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
return NULL;
|
||||
#else
|
||||
struct resource *res;
|
||||
|
||||
Reference in New Issue
Block a user