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/guf-vincell | |
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/guf-vincell')
-rw-r--r-- | arch/arm/boards/guf-vincell/board.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c index cb09303ea8..bacab0bd1f 100644 --- a/arch/arm/boards/guf-vincell/board.c +++ b/arch/arm/boards/guf-vincell/board.c @@ -259,9 +259,6 @@ static struct imx_nand_platform_data nand_info = { .flash_bbt = 1, }; -static struct imx_dcd_v2_entry __dcd_entry_section dcd_entry[] = { -}; - static struct i2c_board_info i2c_devices[] = { { I2C_BOARD_INFO("da9053", 0x48), @@ -293,7 +290,7 @@ static int vincell_devices_init(void) dev_add_bb_dev("env_raw", "env0"); imx53_bbu_internal_nand_register_handler("nand", - BBU_HANDLER_FLAG_DEFAULT, dcd_entry, sizeof(dcd_entry), 3 * SZ_128K, 0xf8020000); + BBU_HANDLER_FLAG_DEFAULT, 3 * SZ_128K); return 0; } |