board_f: powerpc: Rename get_clocks_866() to get_clocks()
authorSimon Glass <sjg@chromium.org>
Tue, 28 Mar 2017 16:27:20 +0000 (10:27 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2017 17:52:50 +0000 (13:52 -0400)
We really don't need to have a name like this in the generic init
sequence. Use the generic get_clocks() name so that we can merge these
two at some point.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/mpc8xx/speed.c
common/board_f.c
include/common.h

index 42442b8..613209c 100644 (file)
@@ -243,7 +243,7 @@ static long init_pll_866 (long clk);
  * contains invalid value).
  * This functions requires an MPC866 or newer series CPU.
  */
-int get_clocks_866 (void)
+int get_clocks(void)
 {
        volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR;
        char              tmp[64];
index 326faef..84ffc90 100644 (file)
@@ -831,7 +831,7 @@ static const init_fnc_t init_sequence_f[] = {
        /* TODO: can any of this go into arch_cpu_init()? */
 #if defined(CONFIG_8xx_CPUCLK_DEFAULT)
        /* get CPU and bus clocks according to the environment variable */
-       get_clocks_866,
+       get_clocks,
        /* adjust sdram refresh rate according to the new clock */
        sdram_adjust_866,
        init_timebase,
index 5f5c0f4..ad8c18c 100644 (file)
@@ -637,7 +637,6 @@ int serial_stub_tstc(struct stdio_dev *sdev);
 
 /* $(CPU)/speed.c */
 int    get_clocks (void);
-int    get_clocks_866 (void);
 int    sdram_adjust_866 (void);
 int    adjust_sdram_tbs_8xx (void);
 #if defined(CONFIG_MPC8260)