]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/xtensa/xtfpga.c
Replace TARGET_WORDS_BIGENDIAN
[mirror_qemu.git] / hw / xtensa / xtfpga.c
index c1e004e8822d55108e6f4c7461edc29aab70cd9c..2a5556a35f509d1dd7c593c2e8fcddbc0bf49f70 100644 (file)
@@ -219,7 +219,7 @@ static const MemoryRegionOps xtfpga_io_ops = {
 
 static void xtfpga_init(const XtfpgaBoardDesc *board, MachineState *machine)
 {
-#ifdef TARGET_WORDS_BIGENDIAN
+#if TARGET_BIG_ENDIAN
     int be = 1;
 #else
     int be = 0;
@@ -430,7 +430,7 @@ static void xtfpga_init(const XtfpgaBoardDesc *board, MachineState *machine)
         }
         if (entry_point != env->pc) {
             uint8_t boot[] = {
-#ifdef TARGET_WORDS_BIGENDIAN
+#if TARGET_BIG_ENDIAN
                 0x60, 0x00, 0x08,       /* j    1f */
                 0x00,                   /* .literal_position */
                 0x00, 0x00, 0x00, 0x00, /* .literal entry_pc */