Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/26539 )
Change subject: soc/marvell/mvmap2315: Get rid of device_t ......................................................................
soc/marvell/mvmap2315: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I6db25850d46ea3a940ea2a6f263303d4b5304cb3 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/26539 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi pgeorgi@google.com --- M src/soc/marvell/mvmap2315/soc.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/soc/marvell/mvmap2315/soc.c b/src/soc/marvell/mvmap2315/soc.c index d05eca6..6904e13 100644 --- a/src/soc/marvell/mvmap2315/soc.c +++ b/src/soc/marvell/mvmap2315/soc.c @@ -21,7 +21,7 @@ #include <soc/addressmap.h> #include <symbols.h>
-static void soc_enable(device_t dev) +static void soc_enable(struct device *dev) { ram_resource(dev, 0, 0x0, MAX_DRAM_ADDRESS / KiB); } @@ -30,7 +30,7 @@ .enable_resources = soc_enable, };
-static void enable_mvmap2315_dev(device_t dev) +static void enable_mvmap2315_dev(struct device *dev) { dev->ops = &soc_ops; }