ARM: 7422/1: mmc: mmci: Allocate platform memory during Device Tree boot
authorLee Jones <lee.jones@linaro.org>
Tue, 12 Jun 2012 09:49:51 +0000 (10:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 14 Jun 2012 14:11:05 +0000 (15:11 +0100)
commitb9b52918abe88d9135dd570fb394b9c432eb1cfd
treeed03ec637ccf95b1a3600c5c52dac5842f050982
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
ARM: 7422/1: mmc: mmci: Allocate platform memory during Device Tree boot

When booting with Device Tree enabled, platform specific information
is gathered by parsing the DT binary. Platform data is subsequently
populated with the result. The memory required for this is not
automatically allocated during Device Tree boot, so we'll do it here
instead.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c