Re: [U-Boot] [PATCH 3/3] clk: zynqmp: Remove unused macros/variables

2017-07-31 Thread Simon Glass
On 20 July 2017 at 03:03, Michal Simek  wrote:
> These macros and one variable is not used anywhere that's why
> it should be removed.

they

>
> Signed-off-by: Michal Simek 
> ---
>
>  drivers/clk/clk_zynqmp.c | 4 
>  1 file changed, 4 deletions(-)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 3/3] clk: zynqmp: Remove unused macros/variables

2017-07-20 Thread Michal Simek
These macros and one variable is not used anywhere that's why
it should be removed.

Signed-off-by: Michal Simek 
---

 drivers/clk/clk_zynqmp.c | 4 
 1 file changed, 4 deletions(-)

diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c
index b5469f73ee0a..bcc62904f174 100644
--- a/drivers/clk/clk_zynqmp.c
+++ b/drivers/clk/clk_zynqmp.c
@@ -17,7 +17,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 static const resource_size_t zynqmp_crf_apb_clkc_base = 0xfd1a0020;
 static const resource_size_t zynqmp_crl_apb_clkc_base = 0xff5e0020;
-static const resource_size_t zynqmp_iou_clkc_base = 0xff18;
 
 /* Full power domain clocks */
 #define CRF_APB_APLL_CTRL  (zynqmp_crf_apb_clkc_base + 0x00)
@@ -91,9 +90,6 @@ static const resource_size_t zynqmp_iou_clkc_base = 
0xff18;
 #define CRL_APB_I2C0_REF_CTRL  (zynqmp_crl_apb_clkc_base + 0x100)
 #define CRL_APB_I2C1_REF_CTRL  (zynqmp_crl_apb_clkc_base + 0x104)
 #define CRL_APB_TIMESTAMP_REF_CTRL (zynqmp_crl_apb_clkc_base + 0x108)
-#define IOU_SLCR_GEM_CLK_CTRL  (zynqmp_iou_clkc_base + 0x308)
-#define IOU_SLCR_CAN_MIO_CTRL  (zynqmp_iou_clkc_base + 0x304)
-#define IOU_SLCR_WDT_CLK_SEL   (zynqmp_iou_clkc_base + 0x300)
 
 #define ZYNQ_CLK_MAXDIV0x3f
 #define CLK_CTRL_DIV1_SHIFT16
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot