keystone, clk: revert ugly work-around by #ifdef CONFIG_CLK
cover keystone, clk: revert ugly work-around by #ifdef CONFIG_CLK
Commit 82f5279b0cd99a9163d34cfe926d0316d9dc0d37 chose a very bad way to suppress the KeyStone boards failure.
The root cause was that KeyStone is using the same function name clk_get_rate as the clk-uclass one, but the probotype is completely different. So, if both <clk.h> and <config.h> are included from a single file (drivers/serial/ns16550.c does so), it fails to build.
The function is only used for KeyStone specific files, so we can rename it to avoid name space conflict.
Masahiro Yamada (3):
ARM: keystone: remove declaration of unused functions
ARM: keystone: rename clk_get_rate() to ks_clk_get_rate() Revert "ns16650: Make sure we have CONFIG_CLK set before using
infrastructure"
arch/arm/include/asm/ti-common/keystone_net.h | 4 ++-- arch/arm/mach-keystone/clock.c | 24 ++++++++++++------------ arch/arm/mach-keystone/cmd_clock.c | 2 +- arch/arm/mach-keystone/include/mach/clock.h | 4 +--- drivers/serial/ns16550.c | 7 ++----- include/clk.h | 25 +++++++++++++------------ include/configs/ti_armv7_keystone2.h | 8 ++++---- 7 files changed, 35 insertions(+), 39 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/3 ARM: keystone: remove declaration of unused functions
These two functions are neither defined nor referenced.
---
arch/arm/mach-keystone/include/mach/clock.h | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-keystone/include/mach/clock.h +0 -2
@@ -126,8 +126,6 @@ void init_plls(void);void init_pll (const struct pll_init_data *data);struct pll_init_data *get_pll_init_data (int pll);unsigned long clk_get_rate (unsigned int clk); -unsigned long clk_round_rate (unsigned int clk,unsigned long hz); -int clk_set_rate (unsigned int clk,unsigned long hz);int get_max_dev_speed (int *spds);int get_max_arm_speed (int *spds);void pll_pa_clk_sel (void );
Signature · 1 line
1.9.1
PATCH 1/3 ARM: keystone: remove declaration of unused functions
Quoted 3 lines · Masahiro Yamada
These two functions are neither defined nor referenced.
Signed-off-by Masahiro Yamada <[email protected]>
Thanks and regards,
Lokesh
Quoted 19 lines
---
arch/arm/mach-keystone/include/mach/clock.h | 2 -- 1 file changed, 2 deletions(-)arch/arm/mach-keystone/include/mach/clock.h +0
-2@@ -126,8 +126,6 @@ void init_plls(void);void init_pll (const struct pll_init_data *data);struct pll_init_data *get_pll_init_data (int pll);unsigned long clk_get_rate (unsigned int clk); -unsigned long clk_round_rate (unsigned int clk,unsigned long hz); -int clk_set_rate (unsigned int clk,unsigned long hz);int get_max_dev_speed (int *spds);int get_max_arm_speed (int *spds);void pll_pa_clk_sel (void );
PATCH 1/3 ARM: keystone: remove declaration of unused functions
In reply to Masahiro YamadaQuoted 3 lines · Masahiro Yamada
These two functions are neither defined nor referenced.
Signed-off-by Masahiro Yamada <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160927/3f414ba8/attachment.sig>
PATCH 1/3 ARM: keystone: remove declaration of unused functions
In reply to Masahiro YamadaQuoted 5 lines · Masahiro Yamada
These two functions are neither defined nor referenced.
Signed-off-by Masahiro Yamada <[email protected]>Acked-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/8a9a38a6/attachment.sig>
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
In reply to Masahiro YamadaThe KeyStone platform has its own clk_get_rate() but its prototype is different from that of the common-clk (clk-uclass) framework.
Prefix the KeyStone specific implementation with _ks in order to avoid name-space conflict.
---
arch/arm/include/asm/ti-common/keystone_net.h | 4 ++-- arch/arm/mach-keystone/clock.c | 24 ++++++++++++------------ arch/arm/mach-keystone/cmd_clock.c | 2 +- arch/arm/mach-keystone/include/mach/clock.h | 2 +- include/configs/ti_armv7_keystone2.h | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-)
arch/arm/include/asm/ti-common/keystone_net.h +2 -2
@@ -51,9 +51,9 @@/* MDIO module input frequency */ #ifdef CONFIG_SOC_K2G -#define EMAC_MDIO_BUS_FREQ (clk_get_rate(sys_clk0_3_clk)) +#define EMAC_MDIO_BUS_FREQ (ks_clk_get_rate(sys_clk0_3_clk))#else -#define EMAC_MDIO_BUS_FREQ (clk_get_rate(pass_pll_clk)) +#define EMAC_MDIO_BUS_FREQ (ks_clk_get_rate(pass_pll_clk))#endif /* MDIO clock output frequency */ #define EMAC_MDIO_CLOCK_FREQ 2500000/* 2.5 MHz */
arch/arm/mach-keystone/clock.c +12 -12
@@ -341,7 +341,7 @@ static unsigned long pll_freq_get(int pll)return ret; } -unsigned long clk_get_rate (unsigned int clk) +unsigned long ks_clk_get_rate (unsigned int clk) {unsigned long freq =0 ;
@@ -381,37 +381,37 @@ unsigned long clk_get_rate(unsigned int clk) freq =pll_freq_get (CORE_PLL ) /pll0div_read (4 );break ;case sys_clk0_2_clk: - freq =clk_get_rate (sys_clk0_clk) /2 ; + freq =ks_clk_get_rate (sys_clk0_clk) /2 ;break ;case sys_clk0_3_clk: - freq =clk_get_rate (sys_clk0_clk) /3 ; + freq =ks_clk_get_rate (sys_clk0_clk) /3 ;break ;case sys_clk0_4_clk: - freq =clk_get_rate (sys_clk0_clk) /4 ; + freq =ks_clk_get_rate (sys_clk0_clk) /4 ;break ;case sys_clk0_6_clk: - freq =clk_get_rate (sys_clk0_clk) /6 ; + freq =ks_clk_get_rate (sys_clk0_clk) /6 ;break ;case sys_clk0_8_clk: - freq =clk_get_rate (sys_clk0_clk) /8 ; + freq =ks_clk_get_rate (sys_clk0_clk) /8 ;break ;case sys_clk0_12_clk: - freq =clk_get_rate (sys_clk0_clk) /12 ; + freq =ks_clk_get_rate (sys_clk0_clk) /12 ;break ;case sys_clk0_24_clk: - freq =clk_get_rate (sys_clk0_clk) /24 ; + freq =ks_clk_get_rate (sys_clk0_clk) /24 ;break ;case sys_clk1_3_clk: - freq =clk_get_rate (sys_clk1_clk) /3 ; + freq =ks_clk_get_rate (sys_clk1_clk) /3 ;break ;case sys_clk1_4_clk: - freq =clk_get_rate (sys_clk1_clk) /4 ; + freq =ks_clk_get_rate (sys_clk1_clk) /4 ;break ;case sys_clk1_6_clk: - freq =clk_get_rate (sys_clk1_clk) /6 ; + freq =ks_clk_get_rate (sys_clk1_clk) /6 ;break ;case sys_clk1_12_clk: - freq =clk_get_rate (sys_clk1_clk) /12 ; + freq =ks_clk_get_rate (sys_clk1_clk) /12 ;break ;default :break ;
arch/arm/mach-keystone/cmd_clock.c +1 -1
@@ -74,7 +74,7 @@ int do_getclk_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) clk =simple_strtoul (argv[1 ],NULL ,10 ); - freq =clk_get_rate (clk); + freq =ks_clk_get_rate (clk);if (freq)printf ("clock index [%d] - frequency %lu\n" , clk, freq);else
arch/arm/mach-keystone/include/mach/clock.h +1 -1
@@ -125,7 +125,7 @@ extern int speeds[];void init_plls (void );void init_pll (const struct pll_init_data *data);struct pll_init_data *get_pll_init_data (int pll); -unsigned long clk_get_rate (unsigned int clk); +unsigned long ks_clk_get_rate (unsigned int clk);int get_max_dev_speed (int *spds);int get_max_arm_speed (int *spds);void pll_pa_clk_sel (void );
include/configs/ti_armv7_keystone2.h +4 -4
@@ -68,14 +68,14 @@#define CONFIG_CONS_INDEX 1#ifndef CONFIG_SOC_K2G -#define CONFIG_SYS_NS16550_CLK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_NS16550_CLK ks_clk_get_rate(KS2_CLK1_6)#else -#define CONFIG_SYS_NS16550_CLK clk_get_rate(uart_pll_clk) / 2 +#define CONFIG_SYS_NS16550_CLK ks_clk_get_rate(uart_pll_clk) / 2#endif /* SPI Configuration */ #define CONFIG_DAVINCI_SPI -#define CONFIG_SYS_SPI_CLK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_SPI_CLK ks_clk_get_rate(KS2_CLK1_6)#define CONFIG_SF_DEFAULT_SPEED 30000000#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED#define CONFIG_SYS_SPI0
@@ -314,7 +314,7 @@#include <asm/arch/hardware.h> #include <asm/arch/clock.h> #ifndef CONFIG_SOC_K2G -#define CONFIG_SYS_HZ_CLOCK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_HZ_CLOCK ks_clk_get_rate(KS2_CLK1_6)#else #define CONFIG_SYS_HZ_CLOCK external_clk[sys_clk]#endif
Signature · 1 line
1.9.1
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
Quoted 7 lines · Masahiro Yamada
The KeyStone platform has its own
clk_get_rate()but its prototype is different from that of the common-clk (clk-uclass) framework.Prefix the KeyStone specific implementation with
_ksin order to avoid name-space conflict.Signed-off-by Masahiro Yamada <[email protected]>
Quoted 8 lines
---
arch/arm/include/asm/ti-common/keystone_net.h | 4 ++-- arch/arm/mach-keystone/clock.c | 24 ++++++++++++------------ arch/arm/mach-keystone/cmd_clock.c | 2 +- arch/arm/mach-keystone/include/mach/clock.h | 2 +- include/configs/ti_armv7_keystone2.h | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-)
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
In reply to Masahiro YamadaQuoted 7 lines · Masahiro Yamada
The KeyStone platform has its own
clk_get_rate()but its prototype is different from that of the common-clk (clk-uclass) framework.Prefix the KeyStone specific implementation with
_ksin order to avoid name-space conflict.Signed-off-by Masahiro Yamada <[email protected]>
Thanks and regards,
Lokesh
Quoted 145 lines
---
arch/arm/include/asm/ti-common/keystone_net.h | 4 ++-- arch/arm/mach-keystone/clock.c | 24 ++++++++++++------------ arch/arm/mach-keystone/cmd_clock.c | 2 +- arch/arm/mach-keystone/include/mach/clock.h | 2 +- include/configs/ti_armv7_keystone2.h | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-)arch/arm/include/asm/ti-common/keystone_net.h +2
-2@@ -51,9 +51,9 @@/* MDIO module input frequency */ #ifdef CONFIG_SOC_K2G -#define EMAC_MDIO_BUS_FREQ (clk_get_rate(sys_clk0_3_clk)) +#define EMAC_MDIO_BUS_FREQ (ks_clk_get_rate(sys_clk0_3_clk))#else -#define EMAC_MDIO_BUS_FREQ (clk_get_rate(pass_pll_clk)) +#define EMAC_MDIO_BUS_FREQ (ks_clk_get_rate(pass_pll_clk))#endif /* MDIO clock output frequency */ #define EMAC_MDIO_CLOCK_FREQ 2500000/* 2.5 MHz */ arch/arm/mach-keystone/clock.c +12
-12@@ -341,7 +341,7 @@ static unsigned long pll_freq_get(int pll)return ret; } -unsigned long clk_get_rate (unsigned int clk) +unsigned long ks_clk_get_rate (unsigned int clk) {unsigned long freq =0 ;@@ -381,37 +381,37 @@ unsigned long clk_get_rate(unsigned int clk) freq =pll_freq_get (CORE_PLL ) /pll0div_read (4 );break ;case sys_clk0_2_clk: - freq =clk_get_rate (sys_clk0_clk) /2 ; + freq =ks_clk_get_rate (sys_clk0_clk) /2 ;break ;case sys_clk0_3_clk: - freq =clk_get_rate (sys_clk0_clk) /3 ; + freq =ks_clk_get_rate (sys_clk0_clk) /3 ;break ;case sys_clk0_4_clk: - freq =clk_get_rate (sys_clk0_clk) /4 ; + freq =ks_clk_get_rate (sys_clk0_clk) /4 ;break ;case sys_clk0_6_clk: - freq =clk_get_rate (sys_clk0_clk) /6 ; + freq =ks_clk_get_rate (sys_clk0_clk) /6 ;break ;case sys_clk0_8_clk: - freq =clk_get_rate (sys_clk0_clk) /8 ; + freq =ks_clk_get_rate (sys_clk0_clk) /8 ;break ;case sys_clk0_12_clk: - freq =clk_get_rate (sys_clk0_clk) /12 ; + freq =ks_clk_get_rate (sys_clk0_clk) /12 ;break ;case sys_clk0_24_clk: - freq =clk_get_rate (sys_clk0_clk) /24 ; + freq =ks_clk_get_rate (sys_clk0_clk) /24 ;break ;case sys_clk1_3_clk: - freq =clk_get_rate (sys_clk1_clk) /3 ; + freq =ks_clk_get_rate (sys_clk1_clk) /3 ;break ;case sys_clk1_4_clk: - freq =clk_get_rate (sys_clk1_clk) /4 ; + freq =ks_clk_get_rate (sys_clk1_clk) /4 ;break ;case sys_clk1_6_clk: - freq =clk_get_rate (sys_clk1_clk) /6 ; + freq =ks_clk_get_rate (sys_clk1_clk) /6 ;break ;case sys_clk1_12_clk: - freq =clk_get_rate (sys_clk1_clk) /12 ; + freq =ks_clk_get_rate (sys_clk1_clk) /12 ;break ;default :break ;arch/arm/mach-keystone/cmd_clock.c +1
-1@@ -74,7 +74,7 @@ int do_getclk_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) clk =simple_strtoul (argv[1 ],NULL ,10 ); - freq =clk_get_rate (clk); + freq =ks_clk_get_rate (clk);if (freq)printf ("clock index [%d] - frequency %lu\n" , clk, freq);else arch/arm/mach-keystone/include/mach/clock.h +1
-1@@ -125,7 +125,7 @@ extern int speeds[];void init_plls (void );void init_pll (const struct pll_init_data *data);struct pll_init_data *get_pll_init_data (int pll); -unsigned long clk_get_rate (unsigned int clk); +unsigned long ks_clk_get_rate (unsigned int clk);int get_max_dev_speed (int *spds);int get_max_arm_speed (int *spds);void pll_pa_clk_sel (void );include/configs/ti_armv7_keystone2.h +4
-4@@ -68,14 +68,14 @@#define CONFIG_CONS_INDEX 1#ifndef CONFIG_SOC_K2G -#define CONFIG_SYS_NS16550_CLK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_NS16550_CLK ks_clk_get_rate(KS2_CLK1_6)#else -#define CONFIG_SYS_NS16550_CLK clk_get_rate(uart_pll_clk) / 2 +#define CONFIG_SYS_NS16550_CLK ks_clk_get_rate(uart_pll_clk) / 2#endif /* SPI Configuration */ #define CONFIG_DAVINCI_SPI -#define CONFIG_SYS_SPI_CLK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_SPI_CLK ks_clk_get_rate(KS2_CLK1_6)#define CONFIG_SF_DEFAULT_SPEED 30000000#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED#define CONFIG_SYS_SPI0 @@ -314,7 +314,7 @@#include <asm/arch/hardware.h> #include <asm/arch/clock.h> #ifndef CONFIG_SOC_K2G -#define CONFIG_SYS_HZ_CLOCK clk_get_rate(KS2_CLK1_6) +#define CONFIG_SYS_HZ_CLOCK ks_clk_get_rate(KS2_CLK1_6)#else #define CONFIG_SYS_HZ_CLOCK external_clk[sys_clk]#endif
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
In reply to Masahiro YamadaQuoted 7 lines · Masahiro Yamada
The KeyStone platform has its own
clk_get_rate()but its prototype is different from that of the common-clk (clk-uclass) framework.Prefix the KeyStone specific implementation with
_ksin order to avoid name-space conflict.Signed-off-by Masahiro Yamada <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160927/f0548d81/attachment.sig>
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
In reply to Masahiro Yamada2016-09-26 20:45 GMT+09:00 Masahiro Yamada <[email protected]>:
Quoted 7 lines
The KeyStone platform has its own
clk_get_rate()but its prototype is different from that of the common-clk (clk-uclass) framework.Prefix the KeyStone specific implementation with
_ksin order to avoid name-space conflict.Signed-off-by Masahiro Yamada <[email protected]>
A nit.
"Prefix ... with _ks"
should be
"Prefix ... with ks_"
I am not inclined to resend just for it,
but hoping Tom can fix it when this patch is applied.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 2/3 ARM: keystone: rename clk_get_rate() to ks_clk_get_rate()
In reply to Masahiro YamadaQuoted 10 lines · Masahiro Yamada
The KeyStone platform has its own
clk_get_rate()but its prototype is different from that of the common-clk (clk-uclass) framework.Prefix the KeyStone specific implementation with
ks_in order to avoid name-space conflict.Signed-off-by Masahiro Yamada <[email protected]>Reviewed-by Simon Glass <[email protected]>Acked-by Lokesh Vutla <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/f7e0051c/attachment.sig>
PATCH 3/3 Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"
In reply to Masahiro YamadaThis reverts commit 82f5279b0cd99a9163d34cfe926d0316d9dc0d37.
The build failure of k2*evm boards was fixed in a different way by the previous commit. It is nasty to patch generic drivers around with #ifdef CONFIG_CLK just for the KeyStone's matter.
---
drivers/serial/ns16550.c | 7 ++----- include/clk.h | 25 +++++++++++++------------ 2 files changed, 15 insertions(+), 17 deletions(-)
drivers/serial/ns16550.c +2 -5
@@ -13,7 +13,6 @@#include <serial.h> #include <watchdog.h> #include <linux/types.h> -#include <linux/compiler.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR ;
@@ -354,8 +353,8 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev) {struct ns16550_platdata *plat = dev->platdata;fdt_addr_t addr; -__maybe_unused struct clk clk; -__maybe_unused int err; +struct clk clk; +int err;/* try Processor Local Bus device first */ addr =dev_get_addr (dev);
@@ -402,7 +401,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev) plat->reg_shift =fdtdec_get_int (gd->fdt_blob, dev->of_offset,"reg-shift" ,0 ); -#ifdef CONFIG_CLK err =clk_get_by_index (dev,0 , &clk);if (!err) { err =clk_get_rate (&clk);
@@ -412,7 +410,6 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev)debug ("ns16550 failed to get clock\n" );return err; } -#endif if (!plat->clock) plat->clock = fdtdec_get_int(gd->fdt_blob, dev->of_offset,
include/clk.h +13 -12
@@ -98,6 +98,19 @@ int clk_get_by_index(struct udevice *dev, int index, struct clk *clk);* @return 0 if OK, or a negative error code. */ int clk_get_by_name (struct udevice *dev,const char *name,struct clk *clk); +#else +static inline int clk_get_by_index (struct udevice *dev,int index, +struct clk *clk) +{ +return -ENOSYS ; +} + +static inline int clk_get_by_name (struct udevice *dev,const char *name, +struct clk *clk) +{ +return -ENOSYS ; +} +#endif /** * clk_request - Request a clock by provider-specific ID.
@@ -162,17 +175,5 @@ int clk_enable(struct clk *clk);int clk_disable (struct clk *clk);int soc_clk_dump (void ); -#else -static inline int clk_get_by_index (struct udevice *dev,int index, -struct clk *clk) -{ -return -ENOSYS ; -} -static inline int clk_get_by_name (struct udevice *dev,const char *name, -struct clk *clk) -{ -return -ENOSYS ; -} -#endif #endif
Signature · 1 line
1.9.1
PATCH 3/3 Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"
Quoted 6 lines · Masahiro Yamada
This reverts commit
82f5279b0cd99a9163d34cfe926d0316d9dc0d37.The build failure of k2*evm boards was fixed in a different way by the previous commit. It is nasty to patch generic drivers around with #ifdef
CONFIG_CLKjust for the KeyStone's matter.
Quoted 6 lines
Signed-off-by Masahiro Yamada <[email protected]>---
drivers/serial/ns16550.c | 7 ++----- include/clk.h | 25 +++++++++++++------------ 2 files changed, 15 insertions(+), 17 deletions(-)
PATCH 3/3 Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"
In reply to Masahiro YamadaQuoted 7 lines · Masahiro Yamada
This reverts commit
82f5279b0cd99a9163d34cfe926d0316d9dc0d37.The build failure of k2*evm boards was fixed in a different way by the previous commit. It is nasty to patch generic drivers around with #ifdef
CONFIG_CLKjust for the KeyStone's matter.Signed-off-by Masahiro Yamada <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160927/fd3685a7/attachment.sig>
PATCH 3/3 Revert "ns16650: Make sure we have CONFIG_CLK set before using infrastructure"
In reply to Masahiro YamadaQuoted 9 lines · Masahiro Yamada
This reverts commit
82f5279b0cd99a9163d34cfe926d0316d9dc0d37.The build failure of k2*evm boards was fixed in a different way by the previous commit. It is nasty to patch generic drivers around with #ifdef
CONFIG_CLKjust for the KeyStone's matter.Signed-off-by Masahiro Yamada <[email protected]>Reviewed-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161008/6b129f8b/attachment.sig>