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:
parent
9f6614d644
commit
c4f79aff8b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue