summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/boot.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-03-14 18:38:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-26 10:20:17 +0100
commitc4f79aff8b8f9bb14d06e8256f5f34e0b23263b5 (patch)
tree31ce7ba7f9bc48e02809e5853bb2e78e621ef864 /arch/arm/mach-imx/boot.c
parent9f6614d644e742e27821daed1b36ed96db83ade3 (diff)
downloadbarebox-c4f79aff8b8f9bb14d06e8256f5f34e0b23263b5.tar.gz
barebox-c4f79aff8b8f9bb14d06e8256f5f34e0b23263b5.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-imx/boot.c')
-rw-r--r--arch/arm/mach-imx/boot.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c
index 068fa228a5..37f11807e8 100644
--- a/arch/arm/mach-imx/boot.c
+++ b/arch/arm/mach-imx/boot.c
@@ -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