9
0
Fork 0

Define barebox_loc magic variable only once

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2012-04-03 13:27:00 +04:00 committed by Sascha Hauer
parent 705a2e2e25
commit f8856d422e
1 changed files with 1 additions and 3 deletions

View File

@ -87,8 +87,6 @@ static int imx_25_35_boot_save_loc(void)
return 0;
}
coredevice_initcall(imx_25_35_boot_save_loc);
BAREBOX_MAGICVAR(barebox_loc, "The source barebox has been booted from");
#endif
#if defined(CONFIG_ARCH_IMX27)
@ -114,6 +112,6 @@ static int imx_27_boot_save_loc(void)
return 0;
}
coredevice_initcall(imx_27_boot_save_loc);
#endif
BAREBOX_MAGICVAR(barebox_loc, "The source barebox has been booted from");
#endif