summaryrefslogtreecommitdiffstats
path: root/include/pbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pbl.h')
-rw-r--r--include/pbl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pbl.h b/include/pbl.h
index d041a3fbad..787bd8293f 100644
--- a/include/pbl.h
+++ b/include/pbl.h
@@ -12,4 +12,10 @@ extern unsigned long free_mem_end_ptr;
void pbl_barebox_uncompress(void *dest, void *compressed_start, unsigned int len);
+#ifdef __PBL__
+#define IN_PBL 1
+#else
+#define IN_PBL 0
+#endif
+
#endif /* __PBL_H__ */