IMAGE_FILE_MACHINE_ARMNT is not defined in barebox, unlike U-Boot. The macro we have is IMAGE_FILE_MACHINE_ARMV7, which has the same value of 0x01c4, so use that instead. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- common/pe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pe.c b/common/pe.c index 5c33665dfa74..6164dd68b7ab 100644 --- a/common/pe.c +++ b/common/pe.c @@ -22,7 +22,7 @@ static int machines[] = { #elif defined(__arm__) IMAGE_FILE_MACHINE_ARM, IMAGE_FILE_MACHINE_THUMB, - IMAGE_FILE_MACHINE_ARMNT, + IMAGE_FILE_MACHINE_ARMV7, #endif #if defined(__x86_64__) -- 2.39.2