From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 12/12] da850: print DDR frequency from u-boot
Date: Wed, 10 Aug 2011 12:47:30 +0200 [thread overview]
Message-ID: <m2ty9ppmpp.fsf@ohwell.denx.de> (raw)
In-Reply-To: <B85A65D85D7EB246BE421B3FB0FBB593024DE31ED3@dbde02.ent.ti.com> (Nagabhushana Netagunte's message of "Tue, 9 Aug 2011 19:10:57 +0530")
Hi Nag,
> Thanks for the comments. It's a very good suggestion to add it as part of
> Command. Unfortunately, I am unable to locate the 'Clock' command source.
> I would greatly appreciate if you can point it for me.
"git grep -A 2 U_BOOT_CMD' is your friend.
Actually as far as I can see, there is no single generic command but
"clockinfo" (e.g. arch/arm/cpu/arm1136/mx35/generic.c) and "clocks"
(e.g. arch/powerpc/cpu/mpc83xx/speed.c).
Maybe we should use this opportunity to align them? So what example
should we follow? Hm, oldest code wins, so here we go:
[dzu at pollux u-boot-testing (master)]$ for f in arch/arm/cpu/arm1136/mx35/generic.c arch/arm/cpu/armv7/mx5/clock.c arch/powerpc/cpu/mpc512x/speed.c arch/powerpc/cpu/mpc83xx/speed.c ; do git describe --contains `git log --follow --pretty=format:%H $f | tail -1` ; done
v2011.03-rc1~2^2~36
v2010.03-rc1~35
v1.3.0-rc4~69^2~1
U-Boot-1_1_3~20^2~7
So PowerPC wins ;) I.e. please use "clocks" as the command name, and
I'd appreciate it if you send a patch changing the mx35 and mx5 code.
Cheers
Detlev
--
Be careful in casting out your devil 'lest you cast out the best thing
about you.
-- Friedrich Nietzsche
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2011-08-10 10:47 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 15:43 [U-Boot] [PATCH 00/12] feature additions and fixes for da850 nagabhushana.netagunte at ti.com
2011-08-02 15:43 ` [U-Boot] [PATCH 01/12] da850: indicate cache usage disable in config file nagabhushana.netagunte at ti.com
2011-08-02 16:06 ` Wolfgang Denk
2011-08-02 19:37 ` Laurence Withers
2011-08-09 13:44 ` Netagunte, Nagabhushana
2011-08-09 13:54 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 02/12] da8xx: add support for multiple PLL controllers nagabhushana.netagunte at ti.com
2011-08-02 15:43 ` [U-Boot] [PATCH 03/12] da850: add NOR boot mode support nagabhushana.netagunte at ti.com
2011-08-02 16:12 ` Wolfgang Denk
2011-08-09 14:03 ` Netagunte, Nagabhushana
2011-08-10 10:50 ` Detlev Zundel
2011-08-17 12:43 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 04/12] da850: modify the U-Boot prompt string nagabhushana.netagunte at ti.com
2011-08-02 15:43 ` [U-Boot] [PATCH 05/12] da850: add support to read mac address from spi flash nagabhushana.netagunte at ti.com
2011-08-02 16:20 ` Wolfgang Denk
2011-08-09 14:05 ` Netagunte, Nagabhushana
2011-08-02 16:23 ` Wolfgang Denk
2011-08-09 14:08 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 06/12] da850: add support to wake up DSP during board init nagabhushana.netagunte at ti.com
2011-08-02 16:25 ` Wolfgang Denk
2011-08-09 14:10 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 07/12] da850: add support for Spectrum Digital AM18xx EVM nagabhushana.netagunte at ti.com
2011-08-02 15:43 ` [U-Boot] [PATCH 08/12] da850: pass board revision info to kernel nagabhushana.netagunte at ti.com
2011-08-02 16:27 ` Wolfgang Denk
2011-08-09 13:52 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 09/12] da850: read MAC address from I2C EEPROM on AM18xx EVM nagabhushana.netagunte at ti.com
2011-08-02 16:30 ` Wolfgang Denk
2011-08-09 13:47 ` Netagunte, Nagabhushana
2011-09-15 10:50 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 10/12] da850: fix the channel number for EMAC teardown init nagabhushana.netagunte at ti.com
2011-08-02 15:43 ` [U-Boot] [PATCH 11/12] da850: modifications for Logic PD Rev.3 AM18xx EVM nagabhushana.netagunte at ti.com
2011-08-02 16:32 ` Wolfgang Denk
2011-08-09 13:45 ` Netagunte, Nagabhushana
2011-08-02 15:43 ` [U-Boot] [PATCH 12/12] da850: print DDR frequency from u-boot nagabhushana.netagunte at ti.com
2011-08-02 16:33 ` Wolfgang Denk
2011-08-09 13:40 ` Netagunte, Nagabhushana
2011-08-10 10:47 ` Detlev Zundel [this message]
2011-08-17 12:47 ` Netagunte, Nagabhushana
2011-08-17 15:37 ` Stefano Babic
2011-08-17 15:48 ` Detlev Zundel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ty9ppmpp.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox