Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6103
-gerrit
commit f1d54bcf11922059ad1dba5f8ad99753c64d41ed Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Tue Jun 24 17:35:02 2014 +1000
include/device/device.h: Header is ROMCC tentative
This header is incompatible with ROMCC and its inclusion leads to 'odd' build failures.
Change-Id: If31d774385796dcafe2fd48151e424b4c872aec3 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/include/device/device.h | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/src/include/device/device.h b/src/include/device/device.h index dcd93f6..ced2786 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -1,6 +1,13 @@ #ifndef DEVICE_H #define DEVICE_H
+/* + * NOTICE: Header is ROMCC tentative. + * This header is incompatible with ROMCC and its inclusion leads to 'odd' + * build failures. + */ +#if !defined(__ROMCC__) + #include <stdint.h> #include <stddef.h> #include <rules.h> @@ -243,4 +250,6 @@ ROMSTAGE_CONST struct device * dev_find_slot_on_smbus (unsigned int bus,
#endif
+#endif /* !defined(__ROMCC__) */ + #endif /* DEVICE_H */