commit | 43c6b2f3a82163e4d46c1076c220bf665e2f302e | [log] [tgz] |
---|---|---|
author | Alexander Stein <alexanders83@web.de> | Fri Apr 17 17:33:17 2015 +0200 |
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | Tue May 05 12:29:42 2015 +0300 |
tree | 7af19e2973d93a4ec00750627e9d5e0255de009d | |
parent | 3ffa851902b5af4f6a0bf12cea9cbafddb5ff491 [diff] |
mmc: bcm2835_sdhci: Use calloc to allocate bcm2835_sdhci_host We need to clear the allocated memory explicitly as the included struct sdhci_host has function pointers. Those are compared to NULL to test if this (optional) feature is supported. Leaving them undefined let u-boot jump to arbitrary memory. Signed-off-by: Alexander Stein <alexanders83@web.de>