ARM: start: simplify board_data sdram allocation
We already have a pointer for barebox_boarddata, so use it to
request the corresponding SDRAM region instead of calculating
it again.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1e992a1 commit 0aa0bfc944e670e5fca9e24d96d91bfd1324d7ac
@Sascha Hauer Sascha Hauer authored on 16 Jun 2016
Showing 1 changed file
View
arch/arm/cpu/start.c