diff options
Diffstat (limited to 'hw/nios2/boot.c')
-rw-r--r-- | hw/nios2/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nios2/boot.c b/hw/nios2/boot.c index 5b3e4efed5..e889595d5c 100644 --- a/hw/nios2/boot.c +++ b/hw/nios2/boot.c @@ -140,7 +140,7 @@ void nios2_load_kernel(Nios2CPU *cpu, hwaddr ddr_base, uint64_t entry, high; int big_endian = 0; -#ifdef TARGET_WORDS_BIGENDIAN +#if TARGET_BIG_ENDIAN big_endian = 1; #endif |