summaryrefslogtreecommitdiffstats
path: root/src/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/stddef.h')
-rw-r--r--src/include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/stddef.h b/src/include/stddef.h
index 993d5f09cc4c..7cae2e6dc89c 100644
--- a/src/include/stddef.h
+++ b/src/include/stddef.h
@@ -23,7 +23,7 @@ typedef unsigned int wint_t;
/* The devicetree data structures are only mutable in ramstage. All other
stages have a constant devicetree. */
-#if !ENV_RAMSTAGE
+#if !ENV_PAYLOAD_LOADER
#define DEVTREE_EARLY 1
#else
#define DEVTREE_EARLY 0