From patchwork Fri Jul 1 09:46:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [RFC,3/3] ARM: imx/mx31moboard: remove obsolete baseboard handling Date: Thu, 30 Jun 2011 23:46:34 -0000 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 102888 Message-Id: <1309513594-31016-3-git-send-email-u.kleine-koenig@pengutronix.de> To: linux-arm-kernel@lists.infradead.org Cc: Eric Miao , kernel@pengutronix.de, Marek Vasut , Daniel Mack , =?UTF-8?q?Philippe=20R=C3=A9tornaz?= , Valentin Longchamp Signed-off-by: Uwe Kleine-König --- arch/arm/mach-imx/mach-mx31moboard.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 802595b..6681de4 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c @@ -517,16 +517,6 @@ static const struct baseboard_entry }, }; -static const char *baseboardnames[] = { - "", - "devboard", - "marxbot", - "smartbot", - "eyebot", -}; -static int mx31moboard_baseboard; -core_param(mx31moboard_baseboard, mx31moboard_baseboard, int, 0444); - /* * Board specific initialization. */ @@ -559,12 +549,6 @@ static void __init mx31moboard_init(void) moboard_usbh2_init(); - if (mx31moboard_baseboard > 0 && - mx31moboard_baseboard < ARRAY_SIZE(baseboardnames)) { - pr_warn("mx31moboard_baseboard= is deprecated, use baseboard=\n"); - baseboard_select(baseboardnames[mx31moboard_baseboard]); - } - baseboard_setup(mx31moboard_baseboard_map, ARRAY_SIZE(mx31moboard_baseboard_map)); }