summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-04 20:09:58 +0900
committerTom Rini <trini@ti.com>2014-05-12 15:19:45 -0400
commit8e2615752ee6d5daf8ce2e1e599a0512750f24b9 (patch)
tree41ee1ead95b1cafc60195a05e916c9398743d72e /common/board_f.c
parent3e41c54ad8099951d57c3c5a0f5ebc6e8becf70c (diff)
bd_info: remove bi_barudrate member from struct bd_info
gd->bd->bi_baudrate is a copy of gd->baudrate. Since baudrate is a common feature for all architectures, keep gd->baudrate only. It is true that bi_baudrate was passed to the kernel in that structure but it was a long time ago. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Tom Rini <trini@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Acked-by: Michal Simek <monstr@monstr.eu> (For microblaze)
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/board_f.c b/common/board_f.c
index cbdf06f812..aea6bff555 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -708,14 +708,6 @@ static int init_post(void)
}
#endif
-static int setup_baud_rate(void)
-{
- /* Ick, can we get rid of this line? */
- gd->bd->bi_baudrate = gd->baudrate;
-
- return 0;
-}
-
static int setup_dram_config(void)
{
/* Ram is board specific, so move it to board code ... */
@@ -954,7 +946,6 @@ static init_fnc_t init_sequence_f[] = {
INIT_FUNC_WATCHDOG_RESET
setup_board_part2,
#endif
- setup_baud_rate,
display_new_sp,
#ifdef CONFIG_SYS_EXTBDINFO
setup_board_extra,