9
0
Fork 0

ARM i.MX bootsource: imx_25_35_boot_save_loc: remove leftover do-nothing code

This patch removes some code leftover from:
    a029e32 ARM i.MX: rework bootsource setting
which is now a no-op.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2013-03-14 18:38:42 +01:00 committed by Sascha Hauer
parent 9f6614d644
commit c4f79aff8b
1 changed files with 0 additions and 5 deletions

View File

@ -96,16 +96,11 @@ static const enum imx_bootsource locations[4][4] = {
*/
void imx_25_35_boot_save_loc(unsigned int ctrl, unsigned int type)
{
const char *bareboxloc = NULL;
enum imx_bootsource src;
src = locations[ctrl][type];
imx_set_bootsource(src);
if (bareboxloc) {
setenv("barebox_loc", bareboxloc);
export("barebox_loc");
}
}
#define IMX27_SYSCTRL_GPCR 0x18