• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/mtd_flags_options.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 extern const struct xlat mtd_flags_options[];
12 
13 # else
14 
15 #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
16 static
17 #  endif
18 const struct xlat mtd_flags_options[] = {
19 #if defined(MTD_WRITEABLE) || (defined(HAVE_DECL_MTD_WRITEABLE) && HAVE_DECL_MTD_WRITEABLE)
20   XLAT(MTD_WRITEABLE),
21 #endif
22 #if defined(MTD_BIT_WRITEABLE) || (defined(HAVE_DECL_MTD_BIT_WRITEABLE) && HAVE_DECL_MTD_BIT_WRITEABLE)
23   XLAT(MTD_BIT_WRITEABLE),
24 #endif
25 #if defined(MTD_NO_ERASE) || (defined(HAVE_DECL_MTD_NO_ERASE) && HAVE_DECL_MTD_NO_ERASE)
26   XLAT(MTD_NO_ERASE),
27 #endif
28 #if defined(MTD_POWERUP_LOCK) || (defined(HAVE_DECL_MTD_POWERUP_LOCK) && HAVE_DECL_MTD_POWERUP_LOCK)
29   XLAT(MTD_POWERUP_LOCK),
30 #endif
31  XLAT_END
32 };
33 
34 # endif /* !IN_MPERS */
35 
36 #endif /* !XLAT_MACROS_ONLY */
37