diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2016-02-19 16:44:22 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2016-02-22 18:38:48 +0100 |
commit | f0d39c409b95c2095f84adcd0dcb9b0381e1562e (patch) | |
tree | 4fdf1283e71c03a6c747ab87e6d874c9010d6ba1 /src/arch/arm64 | |
parent | 4f22267b09565055f297808adc3c260c749332fb (diff) |
die() when attempting to use bounce buffer on non-i386.
Only i386 has code to support bounce buffer. For others coreboot
would silently discard part of binary which doesn't work and is a hell to debug.
Instead just die.
Change-Id: I37ae24ea5d13aae95f9856a896700a0408747233
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: https://review.coreboot.org/13750
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/arm64')
-rw-r--r-- | src/arch/arm64/boot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c index fa83c3f657..d498cd9362 100644 --- a/src/arch/arm64/boot.c +++ b/src/arch/arm64/boot.c @@ -72,6 +72,11 @@ void arch_prog_run(struct prog *prog) doit(prog_entry_arg(prog)); } +int arch_supports_bounce_buffer(void) +{ + return 0; +} + /* Generic stage entry point. Can be overridden by board/SoC if needed. */ __attribute__((weak)) void stage_entry(void) { |