summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/selfboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c
index 6d86159ddd..f3a1e52728 100644
--- a/src/lib/selfboot.c
+++ b/src/lib/selfboot.c
@@ -114,6 +114,9 @@ static int relocate_segment(unsigned long buffer, struct segment *seg)
if (!overlaps_coreboot(seg))
return 0;
+ if (!arch_supports_bounce_buffer())
+ die ("bounce buffer not supported");
+
start = seg->s_dstaddr;
middle = start + seg->s_filesz;
end = start + seg->s_memsz;