commonlib/storage: Make pci sdhci code compile in romstage
commit39363744cc76a793ab429c039ff5c75e56c3b368
authorBora Guvendik <bora.guvendik@intel.com>
Fri, 9 Mar 2018 00:21:12 +0000 (8 16:21 -0800)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 11 Oct 2018 10:57:07 +0000 (11 10:57 +0000)
tree42f04637af026d40a8d0c7c9648389c4df0a99d8
parent4356e09235b911ad0c66f7467e25f6a88e823009
commonlib/storage: Make pci sdhci code compile in romstage

In romstage malloc is not available, so use CAR_GLOBAL
variable instead.

BUG=b:78106689
TEST=Boot to OS

Change-Id: If9438d0b707c6ffaa61db80bd1d385112bc91cfc
Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-on: https://review.coreboot.org/25067
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/commonlib/storage/pci_sdhci.c