* [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo
@ 2014-02-05 7:18 Michal Simek
2014-02-13 14:52 ` Albert ARIBAUD
0 siblings, 1 reply; 3+ messages in thread
From: Michal Simek @ 2014-02-05 7:18 UTC (permalink / raw)
To: u-boot
ARM has specific clk entries which should be also setup.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Freq is expected to be in MHz
- Use different DDR clock input
arch/arm/cpu/armv7/zynq/clk.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/cpu/armv7/zynq/clk.c b/arch/arm/cpu/armv7/zynq/clk.c
index 4307111..d2885dc 100644
--- a/arch/arm/cpu/armv7/zynq/clk.c
+++ b/arch/arm/cpu/armv7/zynq/clk.c
@@ -161,6 +161,8 @@ static void init_ddr_clocks(void)
clks[dci_clk].frequency = DIV_ROUND_CLOSEST(
DIV_ROUND_CLOSEST(prate, div0), div1);
clks[dci_clk].name = "dci";
+
+ gd->bd->bi_ddr_freq = clks[ddr3x_clk].frequency / 1000000;
}
static void init_cpu_clocks(void)
@@ -593,6 +595,9 @@ int set_cpu_clk_info(void)
init_periph_clocks();
init_aper_clocks();
+ gd->bd->bi_arm_freq = gd->cpu_clk / 1000000;
+ gd->bd->bi_dsp_freq = 0;
+
return 0;
}
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140205/97b6d946/attachment.pgp>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo
2014-02-05 7:18 [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo Michal Simek
@ 2014-02-13 14:52 ` Albert ARIBAUD
2014-02-13 15:21 ` Michal Simek
0 siblings, 1 reply; 3+ messages in thread
From: Albert ARIBAUD @ 2014-02-13 14:52 UTC (permalink / raw)
To: u-boot
Hi Michal,
On Wed, 5 Feb 2014 08:18:35 +0100, Michal Simek
<michal.simek@xilinx.com> wrote:
> ARM has specific clk entries which should be also setup.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> Changes in v2:
> - Freq is expected to be in MHz
> - Use different DDR clock input
>
> arch/arm/cpu/armv7/zynq/clk.c | 5 +++++
> 1 file changed, 5 insertions(+)
This is assigned to me, but it seems to be V2 of
http://patchwork.ozlabs.org/patch/313199/ which was assigned to you.
Should I apply this in ARM as a standalone patch?
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo
2014-02-13 14:52 ` Albert ARIBAUD
@ 2014-02-13 15:21 ` Michal Simek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Simek @ 2014-02-13 15:21 UTC (permalink / raw)
To: u-boot
On 02/13/2014 03:52 PM, Albert ARIBAUD wrote:
> Hi Michal,
>
> On Wed, 5 Feb 2014 08:18:35 +0100, Michal Simek
> <michal.simek@xilinx.com> wrote:
>
>> ARM has specific clk entries which should be also setup.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>> Changes in v2:
>> - Freq is expected to be in MHz
>> - Use different DDR clock input
>>
>> arch/arm/cpu/armv7/zynq/clk.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>
> This is assigned to me, but it seems to be V2 of
> http://patchwork.ozlabs.org/patch/313199/ which was assigned to you.
> Should I apply this in ARM as a standalone patch?
no. I will be/is the part of my zynq pull request.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140213/4f336010/attachment.pgp>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-13 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 7:18 [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo Michal Simek
2014-02-13 14:52 ` Albert ARIBAUD
2014-02-13 15:21 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox