summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/layout.c b/layout.c
index d65e370..c01e09c 100644
--- a/layout.c
+++ b/layout.c
@@ -134,6 +134,7 @@ int show_id(uint8_t *bios, int size, int force)
}
#endif
+#ifndef __LIBPAYLOAD__
int read_romlayout(char *name)
{
FILE *romlayout;
@@ -181,6 +182,7 @@ int read_romlayout(char *name)
return 0;
}
+#endif
int find_romentry(char *name)
{
OpenPOWER on IntegriCloud