Files
system76-coreboot/src/lib
Kyösti Mälkki ef84401149 Add directive __SIMPLE_DEVICE__
The tests for __PRE_RAM__ or __SMM__ were repeatedly used
for detection if dev->ops in the devicetree are not available
and simple device model functions need be used.

If a source file build for ramstage had __PRE_RAM__ inserted
at the beginning, the struct device would no longer match the
allocation the object had taken. This problem is fixed by
replacing such cases with explicit __SIMPLE_DEVICE__.

Change-Id: Ib74c9b2d8753e6e37e1a23fcfaa2f3657790d4c0
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3555
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
2013-08-01 15:57:11 +02:00
..
2013-07-10 20:17:51 +02:00
2010-03-22 11:42:32 +00:00
2013-07-10 20:17:51 +02:00
2013-07-10 20:17:51 +02:00
2003-07-19 04:28:22 +00:00
2013-07-10 02:39:42 +02:00
2013-07-10 20:17:51 +02:00
2012-12-06 23:13:17 +01:00
2013-05-01 07:08:44 +02:00
2013-01-12 19:09:55 +01:00
2013-07-10 20:17:51 +02:00
2013-07-10 21:43:55 +02:00
2010-02-22 16:41:49 +00:00
2013-07-10 20:17:51 +02:00
2013-07-10 20:17:51 +02:00
2009-01-20 21:40:16 +00:00
2004-03-13 03:40:29 +00:00
2013-07-10 20:17:51 +02:00
2009-01-20 21:40:16 +00:00
2013-07-10 20:17:51 +02:00
2013-06-10 22:30:39 +02:00
2013-07-10 20:17:51 +02:00
2013-07-10 21:43:55 +02:00
2013-04-18 22:47:59 +02:00
2013-02-12 05:05:39 +01:00
2013-07-10 02:40:30 +02:00
2012-02-17 19:04:31 +01:00
2013-08-01 15:57:11 +02:00
2013-07-30 08:25:19 +02:00