summaryrefslogtreecommitdiff
path: root/src/include/device/pnp_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/pnp_type.h')
-rw-r--r--src/include/device/pnp_type.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/device/pnp_type.h b/src/include/device/pnp_type.h
index db26f2f259..dc2d27c84d 100644
--- a/src/include/device/pnp_type.h
+++ b/src/include/device/pnp_type.h
@@ -20,4 +20,10 @@ typedef u32 pnp_devfn_t;
#define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC))
+#if defined(__SIMPLE_DEVICE__)
+#define ENV_PNP_SIMPLE_DEVICE 1
+#else
+#define ENV_PNP_SIMPLE_DEVICE 0
+#endif
+
#endif /* __DEVICE_PNP_TYPE_H__ */