[U-Boot] [PATCH 1/2] powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq()

Kumar Gala galak at kernel.crashing.org
Thu Feb 10 06:21:16 CET 2011


On Jan 31, 2011, at 10:54 PM, Kumar Gala wrote:

> Every 85xx board implements fsl_ddr_get_mem_data_rate via get_ddr_freq()
> and every 86xx board uses get_bus_freq().  If implement get_ddr_freq()
> as a static inline to call get_bus_freq() we can remove
> fsl_ddr_get_mem_data_rate altogether and just call get_ddr_freq()
> directly.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc8xxx/ddr/util.c |    6 ++----
> board/freescale/corenet_ds/ddr.c    |    5 -----
> board/freescale/mpc8536ds/ddr.c     |    5 -----
> board/freescale/mpc8540ads/ddr.c    |    8 --------
> board/freescale/mpc8541cds/ddr.c    |    5 -----
> board/freescale/mpc8544ds/ddr.c     |    5 -----
> board/freescale/mpc8548cds/ddr.c    |    5 -----
> board/freescale/mpc8555cds/ddr.c    |    5 -----
> board/freescale/mpc8560ads/ddr.c    |    8 --------
> board/freescale/mpc8568mds/ddr.c    |    6 ------
> board/freescale/mpc8569mds/ddr.c    |    6 ------
> board/freescale/mpc8572ds/ddr.c     |    5 -----
> board/freescale/mpc8610hpcd/ddr.c   |    5 -----
> board/freescale/mpc8641hpcn/ddr.c   |    7 +------
> board/freescale/p1022ds/ddr.c       |    5 -----
> board/freescale/p2020ds/ddr.c       |    5 -----
> board/sbc8548/ddr.c                 |    5 -----
> board/sbc8560/ddr.c                 |    8 --------
> board/sbc8641d/ddr.c                |    5 -----
> board/socrates/ddr.c                |    5 -----
> board/stx/stxgp3/ddr.c              |    8 --------
> board/stx/stxssa/ddr.c              |    8 --------
> board/xes/xpedite517x/ddr.c         |    7 +------
> board/xes/xpedite520x/ddr.c         |    5 -----
> board/xes/xpedite537x/ddr.c         |    5 -----
> board/xes/xpedite550x/ddr.c         |    5 -----
> include/common.h                    |    4 ++++
> 27 files changed, 8 insertions(+), 148 deletions(-)

applied to 85xx next

- k


More information about the U-Boot mailing list