aboutsummaryrefslogtreecommitdiff
path: root/board/nokia/rx51/rx51.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-02-07 14:50:14 +0100
committerMarek Vasut <marex@denx.de>2021-03-03 04:12:46 +0100
commitb99e03d90b5deef047e3ab16a37cb3301eac6471 (patch)
tree82e9d574b6c6c7ec642e58408bc4415ece4ffd0a /board/nokia/rx51/rx51.c
parent50ef3851b864aa4bbe5d445b86ccdf58c69eb320 (diff)
downloadu-boot-b99e03d90b5deef047e3ab16a37cb3301eac6471.zip
u-boot-b99e03d90b5deef047e3ab16a37cb3301eac6471.tar.gz
u-boot-b99e03d90b5deef047e3ab16a37cb3301eac6471.tar.bz2
Nokia RX-51: Remove function set_muxconf_regs()
This function is not used and was never called. This board contains '#define CONFIG_SKIP_LOWLEVEL_INIT' because X-Loader set everything up, including MUX configuration. Also this MUX configuration is incorrect and does not match hardware. So remove this dead, unused and broken code. This change will decrease size of U-Boot binary. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'board/nokia/rx51/rx51.c')
-rw-r--r--board/nokia/rx51/rx51.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c
index 1f508d5..d972e34 100644
--- a/board/nokia/rx51/rx51.c
+++ b/board/nokia/rx51/rx51.c
@@ -468,17 +468,6 @@ int misc_init_r(void)
return 0;
}
-/*
- * Routine: set_muxconf_regs
- * Description: Setting up the configuration Mux registers specific to the
- * hardware. Many pins need to be moved from protect to primary
- * mode.
- */
-void set_muxconf_regs(void)
-{
- MUX_RX51();
-}
-
static unsigned long int twl_wd_time; /* last time of watchdog reset */
static unsigned long int twl_i2c_lock;