powerpc/mpc85xx: add setting of clock-frequency for mpic node
PATCH 1/1 powerpc/mpc85xx: add setting of clock-frequency for mpic node
Set the device tree property associated with the mpic source frequency. The frequency is used for mpic timer.
--- arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
arch/powerpc/cpu/mpc85xx/fdt.c +5 -0
@@ -663,6 +663,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_CORENET do_fixup_by_compat_u32 (blob,"fsl,qoriq-clockgen-1.0" ,"clock-frequency" ,CONFIG_SYS_CLK_FREQ ,1 ); +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 )/2 ,1 ); +#else +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 ),1 );#endif fdt_fixup_memory (blob, (u64 )bd->bi_memstart, (u64 )bd->bi_memsize);
--
1.7.5.1
PATCH 1/1 powerpc/mpc85xx: add setting of clock-frequency for mpic node
Hi Andy,
Could you ack this patch?
Thanks.
Quoted 35 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Thursday, January 31, 2013 12:52 PM
To: u-boot at lists.denx.de
Cc: Wang Dongsheng-B40534
Subject: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeSet the device tree property associated with the mpic source frequency. The frequency is used for mpic timer.
Signed-off-by Wang Dongsheng <[email protected]>--- arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)arch/powerpc/cpu/mpc85xx/fdt.c +5
-1@@ -663,6 +663,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_CORENET do_fixup_by_compat_u32 (blob,"fsl,qoriq-clockgen-1.0" ,"clock-frequency" ,CONFIG_SYS_CLK_FREQ ,1 ); +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 )/2 ,1 ); +#else +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 ),1 );#endif fdt_fixup_memory (blob, (u64 )bd->bi_memstart, (u64 )bd->bi_memsize); --1.7.5.1
PATCH 1/1 powerpc/mpc85xx: add setting of clock-frequency for mpic node
In reply to Wang DongshengHi york,
Could you ack this patch?
Thanks.
Quoted 50 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Monday, February 25, 2013 2:22 PM
To: Fleming Andy-AFLEMING
Cc: u-boot at lists.denx.de
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi Andy,
Could you ack this patch?
Thanks.
Quoted 6 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Thursday, January 31, 2013 12:52 PM
To: u-boot at lists.denx.de
Cc: Wang Dongsheng-B40534
Subject: [PATCH] powerpc/mpc85xx: add setting of clock-frequency formpic
Quoted 29 lines
node
Set the device tree property associated with the mpic source frequency. The frequency is used for mpic timer.
Signed-off-by Wang Dongsheng <[email protected]>--- arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)arch/powerpc/cpu/mpc85xx/fdt.c +5
-1@@ -663,6 +663,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_CORENET do_fixup_by_compat_u32 (blob,"fsl,qoriq-clockgen-1.0" ,"clock-frequency" ,CONFIG_SYS_CLK_FREQ ,1 ); +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 )/2 ,1 ); +#else +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 ),1 );#endif fdt_fixup_memory (blob, (u64 )bd->bi_memstart, (u64 )bd->bi_memsize); --1.7.5.1
PATCH 1/1 powerpc/mpc85xx: add setting of clock-frequency for mpic node
In reply to Wang DongshengHi Andy,
Could you please apply this patch?
- dongsheng
Quoted 62 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Tuesday, March 05, 2013 10:14 AM
To: 'yorksun at freescale.com'
Cc: Fleming Andy-AFLEMING; 'u-boot at lists.denx.de'
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi york,
Could you ack this patch?
Thanks.
Quoted 48 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Monday, February 25, 2013 2:22 PM
To: Fleming Andy-AFLEMING
Cc: u-boot at lists.denx.de
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi Andy,
Could you ack this patch?
Thanks.
Quoted 6 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Thursday, January 31, 2013 12:52 PM
To: u-boot at lists.denx.de
Cc: Wang Dongsheng-B40534
Subject: [PATCH] powerpc/mpc85xx: add setting of clock-frequency formpic
Quoted 27 lines
node
Set the device tree property associated with the mpic source frequency. The frequency is used for mpic timer.
Signed-off-by Wang Dongsheng <[email protected]>--- arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/powerpc/cpu/mpc85xx/fdt.cindex 3a268aa..f07d1cf 100644arch/powerpc/cpu/mpc85xx/fdt.c +0
-0@@ -663,6 +663,11 @@ void ft_cpu_setup(void *blob, bd_t *bd) #ifdef
CONFIG_FSL_CORENETarch/powerpc/cpu/mpc85xx/fdt.c +4
-1do_fixup_by_compat_u32 (blob,"fsl,qoriq-clockgen-1.0" ,"clock-frequency" ,CONFIG_SYS_CLK_FREQ ,1 ); +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 )/2 ,1 );#else +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 ),1 );#endif fdt_fixup_memory (blob, (u64 )bd->bi_memstart, (u64 )bd->bi_memsize); --1.7.5.1
PATCH 1/1 powerpc/mpc85xx: add setting of clock-frequency for mpic node
In reply to Wang DongshengHi Andy,
Could you please apply this patch?
http://patchwork.ozlabs.org/patch/217104/
Thanks.
- dongsheng
Quoted 78 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Monday, March 11, 2013 5:31 PM
To: Fleming Andy-AFLEMING
Cc: 'u-boot at lists.denx.de'
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi Andy,
Could you please apply this patch?
- dongsheng
Quoted 64 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Tuesday, March 05, 2013 10:14 AM
To: 'yorksun at freescale.com'
Cc: Fleming Andy-AFLEMING; 'u-boot at lists.denx.de'
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi york,
Could you ack this patch?
Thanks.
Quoted 50 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Monday, February 25, 2013 2:22 PM
To: Fleming Andy-AFLEMING
Cc: u-boot at lists.denx.de
Subject: RE: [PATCH] powerpc/mpc85xx: add setting of clock-frequency for mpic nodeHi Andy,
Could you ack this patch?
Thanks.
Quoted 7 lines
-----Original Message-----
From: Wang Dongsheng-B40534
Sent: Thursday, January 31, 2013 12:52 PM
To: u-boot at lists.denx.de
Cc: Wang Dongsheng-B40534
Subject: [PATCH] powerpc/mpc85xx: add setting of clock-frequency formpic
Quoted 28 lines
node
Set the device tree property associated with the mpic source frequency. The frequency is used for mpic timer.
Signed-off-by Wang Dongsheng <[email protected]>--- arch/powerpc/cpu/mpc85xx/fdt.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/powerpc/cpu/mpc85xx/fdt.cindex 3a268aa..f07d1cf 100644arch/powerpc/cpu/mpc85xx/fdt.c +4
-0@@ -663,6 +663,11 @@ void ft_cpu_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_CORENET do_fixup_by_compat_u32 (blob,"fsl,qoriq-clockgen-1.0" ,"clock-frequency" ,CONFIG_SYS_CLK_FREQ ,1 ); +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 )/2 ,1 );#else +do_fixup_by_compat_u32 (blob,"fsl,mpic" , +"clock-frequency" ,get_bus_freq (0 ),1 );#endif fdt_fixup_memory(blob, (u64)bd->bi_memstart,(u64)bd->bi_memsize);
--
1.7.5.1