diff options
author | Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> | 2018-09-25 18:48:03 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-10-18 19:07:46 +0200 |
commit | 1c1fd9f9689b6a963cb959d95cb884dd783af823 (patch) | |
tree | 28a3b8292cfda330b0c0de614d5e80b12ed49a80 /board | |
parent | 6f5658219886961afeacfc4af3a9eef31e36e2a9 (diff) | |
download | u-boot-1c1fd9f9689b6a963cb959d95cb884dd783af823.tar.gz u-boot-1c1fd9f9689b6a963cb959d95cb884dd783af823.tar.xz u-boot-1c1fd9f9689b6a963cb959d95cb884dd783af823.zip |
ARM: rmobile: Remove Watchdog and CPG settings on Gen3
This code is unnecessary, because these registers are set by the
initial program loader (IPL).
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/renesas/draak/draak.c | 13 | ||||
-rw-r--r-- | board/renesas/salvator-x/salvator-x.c | 13 | ||||
-rw-r--r-- | board/renesas/ulcb/ulcb.c | 13 |
3 files changed, 0 insertions, 39 deletions
diff --git a/board/renesas/draak/draak.c b/board/renesas/draak/draak.c index f9ae74a39d..71fd5001c4 100644 --- a/board/renesas/draak/draak.c +++ b/board/renesas/draak/draak.c @@ -26,21 +26,8 @@ DECLARE_GLOBAL_DATA_PTR; -#define CPGWPCR 0xE6150904 -#define CPGWPR 0xE6150900 - -#define CLK2MHZ(clk) (clk / 1000 / 1000) void s_init(void) { - struct rcar_rwdt *rwdt = (struct rcar_rwdt *)RWDT_BASE; - struct rcar_swdt *swdt = (struct rcar_swdt *)SWDT_BASE; - - /* Watchdog init */ - writel(0xA5A5A500, &rwdt->rwtcsra); - writel(0xA5A5A500, &swdt->swtcsra); - - writel(0x5A5AFFFF, CPGWPR); - writel(0xA5A50000, CPGWPCR); } #define GSX_MSTP112 BIT(12) /* 3DG */ diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c index cb5228a0bd..296aa90a12 100644 --- a/board/renesas/salvator-x/salvator-x.c +++ b/board/renesas/salvator-x/salvator-x.c @@ -27,21 +27,8 @@ DECLARE_GLOBAL_DATA_PTR; -#define CPGWPCR 0xE6150904 -#define CPGWPR 0xE6150900 - -#define CLK2MHZ(clk) (clk / 1000 / 1000) void s_init(void) { - struct rcar_rwdt *rwdt = (struct rcar_rwdt *)RWDT_BASE; - struct rcar_swdt *swdt = (struct rcar_swdt *)SWDT_BASE; - - /* Watchdog init */ - writel(0xA5A5A500, &rwdt->rwtcsra); - writel(0xA5A5A500, &swdt->swtcsra); - - writel(0x5A5AFFFF, CPGWPR); - writel(0xA5A50000, CPGWPCR); } #define GSX_MSTP112 BIT(12) /* 3DG */ diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index fca6eae1fb..a7ca274f34 100644 --- a/board/renesas/ulcb/ulcb.c +++ b/board/renesas/ulcb/ulcb.c @@ -26,21 +26,8 @@ DECLARE_GLOBAL_DATA_PTR; -#define CPGWPCR 0xE6150904 -#define CPGWPR 0xE6150900 - -#define CLK2MHZ(clk) (clk / 1000 / 1000) void s_init(void) { - struct rcar_rwdt *rwdt = (struct rcar_rwdt *)RWDT_BASE; - struct rcar_swdt *swdt = (struct rcar_swdt *)SWDT_BASE; - - /* Watchdog init */ - writel(0xA5A5A500, &rwdt->rwtcsra); - writel(0xA5A5A500, &swdt->swtcsra); - - writel(0x5A5AFFFF, CPGWPR); - writel(0xA5A50000, CPGWPCR); } #define GSX_MSTP112 BIT(12) /* 3DG */ |