summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/efika-mx-smartbook
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-06 09:59:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-09 17:41:41 +0200
commitd238e3ace5273422fb63a236d1957ef7e48d46b4 (patch)
tree3f69371a1c7623eac3046d7bdd6ec55032b1c19f /arch/arm/boards/efika-mx-smartbook
parent2ab8b7513dfcc69e865aa5a4f7001bf44e22d20f (diff)
downloadbarebox-d238e3ace5273422fb63a236d1957ef7e48d46b4.tar.gz
barebox-d238e3ace5273422fb63a236d1957ef7e48d46b4.tar.xz
ARM: i.MX: bbu: remove dcd arguments from bbu registration
The i.MX barebox update handlers take an optional dcd table as argument. This can be used to add the correct dcd data to the image before flashing it. This mechanism is quite complicated and largely unused, so remove it. With this it is only possible to flash the exact image passed to barebox_update, which is what is mostly done anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/board.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c
index 1b19acd81b..59410c1ec4 100644
--- a/arch/arm/boards/efika-mx-smartbook/board.c
+++ b/arch/arm/boards/efika-mx-smartbook/board.c
@@ -238,9 +238,6 @@ static struct gpio_led leds[] = {
},
};
-extern char flash_header_imx51_genesi_efikasb_start[];
-extern char flash_header_imx51_genesi_efikasb_end[];
-
static int efikamx_late_init(void)
{
int i;
@@ -258,10 +255,7 @@ static int efikamx_late_init(void)
writew(0x0, MX51_WDOG_BASE_ADDR + 0x8);
imx51_bbu_internal_mmc_register_handler("mmc", "/dev/mmc1",
- BBU_HANDLER_FLAG_DEFAULT,
- (void *)flash_header_imx51_genesi_efikasb_start,
- flash_header_imx51_genesi_efikasb_end -
- flash_header_imx51_genesi_efikasb_start, 0);
+ BBU_HANDLER_FLAG_DEFAULT);
armlinux_set_architecture(2370);
armlinux_set_revision(0x5100 | imx_silicon_revision());