diff options
author | Tom Rini <trini@ti.com> | 2012-04-13 12:20:03 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:28 +0200 |
commit | 8a87a3d72e01339a744d1d1040d86dc739c1dda4 (patch) | |
tree | 06c43c6878f2541af86b6e081836a9bbb48bddf4 /board | |
parent | 60bd10df8a3d553962b9f6704e055c2475a2414a (diff) | |
download | u-boot-imx-8a87a3d72e01339a744d1d1040d86dc739c1dda4.zip u-boot-imx-8a87a3d72e01339a744d1d1040d86dc739c1dda4.tar.gz u-boot-imx-8a87a3d72e01339a744d1d1040d86dc739c1dda4.tar.bz2 |
omap3: Introduce weak misc_init_r
Introduce a __weak misc_init_r function that just runs dieid_num_r().
Remove misc_init_r from cm_t35, mcx, omap3_logic and mt_ventoux as this was
all they did for misc_init_r.
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Ilya Yanok <yanok@emcraft.com>
Cc: Peter Barada <peter.barada@logicpd.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board')
-rw-r--r-- | board/cm_t35/cm_t35.c | 11 | ||||
-rw-r--r-- | board/htkw/mcx/mcx.c | 11 | ||||
-rw-r--r-- | board/logicpd/omap3som/omap3logic.c | 11 | ||||
-rw-r--r-- | board/teejet/mt_ventoux/mt_ventoux.c | 7 |
4 files changed, 0 insertions, 40 deletions
diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c index d81b555..4c77790 100644 --- a/board/cm_t35/cm_t35.c +++ b/board/cm_t35/cm_t35.c @@ -100,17 +100,6 @@ int board_init(void) } /* - * Routine: misc_init_r - * Description: display die ID - */ -int misc_init_r(void) -{ - dieid_num_r(); - - 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 diff --git a/board/htkw/mcx/mcx.c b/board/htkw/mcx/mcx.c index 8f0b527..8f75af1 100644 --- a/board/htkw/mcx/mcx.c +++ b/board/htkw/mcx/mcx.c @@ -69,17 +69,6 @@ int board_init(void) } /* - * Routine: misc_init_r - * Description: late init. - */ -int misc_init_r(void) -{ - dieid_num_r(); - - 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 diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 89b114b..12bcfcb 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -144,17 +144,6 @@ int board_mmc_init(bd_t *bis) } #endif -/* - * Routine: misc_init_r - * Description: display die ID register - */ -int misc_init_r(void) -{ - dieid_num_r(); - - return 0; -} - #ifdef CONFIG_SMC911X /* GPMC CS1 settings for Logic SOM LV/Torpedo LAN92xx Ethernet chip */ static const u32 gpmc_lan92xx_config[] = { diff --git a/board/teejet/mt_ventoux/mt_ventoux.c b/board/teejet/mt_ventoux/mt_ventoux.c index c7aedc9..9fbaedd 100644 --- a/board/teejet/mt_ventoux/mt_ventoux.c +++ b/board/teejet/mt_ventoux/mt_ventoux.c @@ -196,13 +196,6 @@ int board_init(void) return 0; } -int misc_init_r(void) -{ - dieid_num_r(); - - return 0; -} - /* * Routine: set_muxconf_regs * Description: Setting up the configuration Mux registers specific to the |