diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-04-04 20:09:58 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-12 15:19:45 -0400 |
commit | 8e2615752ee6d5daf8ce2e1e599a0512750f24b9 (patch) | |
tree | 41ee1ead95b1cafc60195a05e916c9398743d72e /arch/blackfin/lib | |
parent | 3e41c54ad8099951d57c3c5a0f5ebc6e8becf70c (diff) | |
download | u-boot-imx-8e2615752ee6d5daf8ce2e1e599a0512750f24b9.zip u-boot-imx-8e2615752ee6d5daf8ce2e1e599a0512750f24b9.tar.gz u-boot-imx-8e2615752ee6d5daf8ce2e1e599a0512750f24b9.tar.bz2 |
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 'arch/blackfin/lib')
-rw-r--r-- | arch/blackfin/lib/board.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 6234201..8784255 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -69,7 +69,6 @@ static int display_banner(void) static int init_baudrate(void) { gd->baudrate = getenv_ulong("baudrate", 10, CONFIG_BAUDRATE); - gd->bd->bi_baudrate = gd->baudrate; return 0; } @@ -92,7 +91,6 @@ static void display_global_data(void) printf(" |-env_valid: %lx\n", gd->env_valid); printf(" |-jt(%p): %p\n", gd->jt, *(gd->jt)); printf(" \\-bd: %p\n", gd->bd); - printf(" |-bi_baudrate: %x\n", bd->bi_baudrate); printf(" |-bi_boot_params: %lx\n", bd->bi_boot_params); printf(" |-bi_memstart: %lx\n", bd->bi_memstart); printf(" |-bi_memsize: %lx\n", bd->bi_memsize); |