diff mbox

[U-Boot,2/2] x86: bdinfo: Drop meaningless values

Message ID 1470455849-30860-2-git-send-email-sjg@chromium.org
State Accepted
Commit cd379a2dc892e3ea1370b313036751629395aefa
Delegated to: Bin Meng
Headers show

Commit Message

Simon Glass Aug. 6, 2016, 3:57 a.m. UTC
These are not useful on x86 so do not print them.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/bdinfo.c | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Bin Meng Aug. 7, 2016, 6:46 a.m. UTC | #1
On Sat, Aug 6, 2016 at 11:57 AM, Simon Glass <sjg@chromium.org> wrote:
> These are not useful on x86 so do not print them.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/bdinfo.c | 10 ----------
>  1 file changed, 10 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Bin Meng Aug. 9, 2016, 2:39 a.m. UTC | #2
On Sun, Aug 7, 2016 at 2:46 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Sat, Aug 6, 2016 at 11:57 AM, Simon Glass <sjg@chromium.org> wrote:
>> These are not useful on x86 so do not print them.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>
>>  cmd/bdinfo.c | 10 ----------
>>  1 file changed, 10 deletions(-)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!
diff mbox

Patch

diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 696c67a..1be1cac 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -446,16 +446,6 @@  int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	bd_t *bd = gd->bd;
 
 	print_bi_boot_params(bd);
-	print_num("bi_memstart",	bd->bi_memstart);
-	print_num("bi_memsize",		bd->bi_memsize);
-	print_num("bi_flashstart",	bd->bi_flashstart);
-	print_num("bi_flashsize",	bd->bi_flashsize);
-	print_num("bi_flashoffset",	bd->bi_flashoffset);
-	print_num("bi_sramstart",	bd->bi_sramstart);
-	print_num("bi_sramsize",	bd->bi_sramsize);
-	print_num("bi_bootflags",	bd->bi_bootflags);
-	print_mhz("cpufreq",		bd->bi_intfreq);
-	print_mhz("busfreq",		bd->bi_busfreq);
 
 	print_bi_dram(bd);