diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-06 09:59:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-09 17:41:41 +0200 |
commit | d238e3ace5273422fb63a236d1957ef7e48d46b4 (patch) | |
tree | 3f69371a1c7623eac3046d7bdd6ec55032b1c19f /arch/arm/boards/freescale-mx53-vmx53 | |
parent | 2ab8b7513dfcc69e865aa5a4f7001bf44e22d20f (diff) | |
download | barebox-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/freescale-mx53-vmx53')
-rw-r--r-- | arch/arm/boards/freescale-mx53-vmx53/board.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/boards/freescale-mx53-vmx53/board.c b/arch/arm/boards/freescale-mx53-vmx53/board.c index d0cc495a5d..b91bfdf5ed 100644 --- a/arch/arm/boards/freescale-mx53-vmx53/board.c +++ b/arch/arm/boards/freescale-mx53-vmx53/board.c @@ -25,9 +25,6 @@ #include <asm/armlinux.h> #include <mach/bbu.h> -extern char flash_header_imx53_vmx53_start[]; -extern char flash_header_imx53_vmx53_end[]; - static int vmx53_late_init(void) { if (!of_machine_is_compatible("voipac,imx53-dmm-668")) @@ -39,9 +36,7 @@ static int vmx53_late_init(void) barebox_set_hostname("vmx53"); imx53_bbu_internal_nand_register_handler("nand", - BBU_HANDLER_FLAG_DEFAULT, (void *)flash_header_imx53_vmx53_start, - flash_header_imx53_vmx53_end - flash_header_imx53_vmx53_start, - SZ_512K, 0); + BBU_HANDLER_FLAG_DEFAULT, SZ_512K); return 0; } |