From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Date: Wed, 9 Feb 2011 23:21:16 -0600 Subject: [U-Boot] [PATCH 1/2] powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq() In-Reply-To: <1296536050-29861-1-git-send-email-galak@kernel.crashing.org> References: <1296536050-29861-1-git-send-email-galak@kernel.crashing.org> Message-ID: <012FD4FF-19F1-493D-8585-F1EA5FF38EED@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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