Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2016-01-04 Thread Simon Glass
Hi Wolfgang, On 29 December 2015 at 07:23, Wolfgang Denk wrote: > Dear Simon, > > In message > you > wrote: >> >> >>> create mode 100644 common/cmd_clk.c >> >>> create mode 100644 include/clk.h > ... >> Sorry, I only just noticed it. I'll see if I can create a patch to get >> the clock info

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2015-12-29 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > >>> create mode 100644 common/cmd_clk.c > >>> create mode 100644 include/clk.h ... > Sorry, I only just noticed it. I'll see if I can create a patch to get > the clock info from an API call instead of using a weak function. I don't get it. This patch app

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2015-12-29 Thread Simon Glass
Hi Michal, On 29 December 2015 at 01:33, Michal Simek wrote: > Hi Simon, > > On 22.12.2015 05:21, Simon Glass wrote: >> Hi Michal, >> >> On 22 January 2014 at 04:02, Michal Simek wrote: >>> Command provides just dump subcommand for showing clock >>> frequencies in a soc. >>> >>> Signed-off-by: M

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2015-12-29 Thread Michal Simek
Hi Simon, On 22.12.2015 05:21, Simon Glass wrote: > Hi Michal, > > On 22 January 2014 at 04:02, Michal Simek wrote: >> Command provides just dump subcommand for showing clock >> frequencies in a soc. >> >> Signed-off-by: Michal Simek >> --- >> >> README | 1 + >> common/Make

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2015-12-21 Thread Simon Glass
Hi Michal, On 22 January 2014 at 04:02, Michal Simek wrote: > Command provides just dump subcommand for showing clock > frequencies in a soc. > > Signed-off-by: Michal Simek > --- > > README | 1 + > common/Makefile | 1 + > common/cmd_clk.c | 51 >

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-30 Thread Stefano Babic
Hi Michal, On 30/01/2014 08:38, Michal Simek wrote: > On 01/23/2014 08:53 AM, Michal Simek wrote: >> On 01/22/2014 08:44 PM, Gerhard Sittig wrote: >>> On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: --- /dev/null +++ b/common/cmd_clk.c @@ -0,0 +1,51 @@ +/* + * Copyright (C

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-29 Thread Michal Simek
On 01/23/2014 08:53 AM, Michal Simek wrote: > On 01/22/2014 08:44 PM, Gerhard Sittig wrote: >> On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: >>> >>> --- /dev/null >>> +++ b/common/cmd_clk.c >>> @@ -0,0 +1,51 @@ >>> +/* >>> + * Copyright (C) 2013 Xilinx, Inc. >>> + * >>> + * SPDX-License-

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-22 Thread Michal Simek
On 01/22/2014 08:44 PM, Gerhard Sittig wrote: > On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: >> >> --- /dev/null >> +++ b/common/cmd_clk.c >> @@ -0,0 +1,51 @@ >> +/* >> + * Copyright (C) 2013 Xilinx, Inc. >> + * >> + * SPDX-License-Identifier: GPL-2.0+ >> + */ >> +#include >> +#include

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-22 Thread Gerhard Sittig
On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: > > --- /dev/null > +++ b/common/cmd_clk.c > @@ -0,0 +1,51 @@ > +/* > + * Copyright (C) 2013 Xilinx, Inc. > + * > + * SPDX-License-Identifier: GPL-2.0+ > + */ > +#include > +#include > +#include > + > +int __weak soc_clk_dump(void) > +{

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-22 Thread Michal Simek
Hi Stefano, On 01/22/2014 01:46 PM, Stefano Babic wrote: > Hi Michal, > > On 22/01/2014 12:02, Michal Simek wrote: >> Command provides just dump subcommand for showing clock frequencies >> in a soc. >> > > i.MXes has already an own command for this functionality - see command > "clocks" in arch/

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-22 Thread Stefano Babic
Hi Michal, On 22/01/2014 12:02, Michal Simek wrote: > Command provides just dump subcommand for showing clock frequencies > in a soc. > i.MXes has already an own command for this functionality - see command "clocks" in arch/arm. However, I like that we can have a common command for all SOCs. >