]> git.sur5r.net Git - u-boot/blobdiff - tools/mips-relocs.c
serial_bcm283x_mu: Always skip init
[u-boot] / tools / mips-relocs.c
index b690fa53c4be7137c256be1667f28c0646b1932f..27d47308e00314427043e721b9bd92f5454a4665 100644 (file)
@@ -6,10 +6,12 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <assert.h>
 #include <elf.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/mman.h>
        case 8:                                                 \
                _val = is_be ? htobe64(val) : htole64(val);     \
                break;                                          \
+       default:                                                \
+               /* We should never reach here */                \
+               _val = 0;                                       \
+               assert(0);                                      \
+               break;                                          \
        }                                                       \
                                                                \
        if (is_64)                                              \