diff mbox series

[3/6] mips: malta: build u-boot-swap.bin

Message ID 20200606205536.21978-4-daniel.schwierzeck@gmail.com
State Accepted
Commit 5467434cc170b6649a2d85ef4a60ca58298689e8
Delegated to: Daniel Schwierzeck
Headers show
Series Add Qemu tests for MIPS Malta machine | expand

Commit Message

Daniel Schwierzeck June 6, 2020, 8:55 p.m. UTC
The Qemu Malta machine expects the firmware in Big-Endian byte order.
Therefore the Little-Endian variants of the Malta board needs to
be byte swapped.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---

 configs/malta64el_defconfig | 1 +
 configs/maltael_defconfig   | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig
index a9efe7736e..a35ae86c55 100644
--- a/configs/malta64el_defconfig
+++ b/configs/malta64el_defconfig
@@ -3,6 +3,7 @@  CONFIG_SYS_TEXT_BASE=0xFFFFFFFFBE000000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_TARGET_MALTA=y
+CONFIG_BUILD_TARGET="u-boot-swap.bin"
 CONFIG_SYS_LITTLE_ENDIAN=y
 CONFIG_CPU_MIPS64_R2=y
 CONFIG_MISC_INIT_R=y
diff --git a/configs/maltael_defconfig b/configs/maltael_defconfig
index 31c9ff6a77..b3f046c993 100644
--- a/configs/maltael_defconfig
+++ b/configs/maltael_defconfig
@@ -3,6 +3,7 @@  CONFIG_SYS_TEXT_BASE=0xBE000000
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_TARGET_MALTA=y
+CONFIG_BUILD_TARGET="u-boot-swap.bin"
 CONFIG_SYS_LITTLE_ENDIAN=y
 CONFIG_MISC_INIT_R=y
 CONFIG_BOARD_EARLY_INIT_F=y