diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-11-10 10:47:54 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-11-15 05:19:42 +0000 |
commit | f0349023a21b03df6c3db572590de8ba556e07db (patch) | |
tree | 860f9e45918dd0c6f9ab92997e5681b03f981844 /Documentation/cbfs.txt | |
parent | 09ab15798a232d70824e60699f4c7c296234f82f (diff) |
device: further untangle device_t from struct device
This further allows compilation units to be re-used without
having to add macro guards because of declarations not being
around in the __SIMPLE_DEVICE__ case. These declarations are for
functions that operate on struct device. struct device is a known
type so just expose the functions using the correct type. Also,
DEVTREE_CONST is empty while in ramstage so there's no reason
to separate the declarations. Lastly, fix up device_util.c to
use the proper types. It's only compiled in ramstage and it only
operates on struct device.
Change-Id: I306e0ad220cdab738cb727dda4a93bdec77c5521
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22420
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'Documentation/cbfs.txt')
0 files changed, 0 insertions, 0 deletions