Home
last modified time | relevance | path

Searched hist:ebe78bb993423851b947b1e00f76c835c23e29b5 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dbcm2835_sdhci.cebe78bb993423851b947b1e00f76c835c23e29b5 Fri Apr 17 15:33:17 UTC 2015 Alexander Stein <alexanders83@web.de> 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>