diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2014-12-02 10:52:20 +0300 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2014-12-05 05:04:52 +0300 |
commit | 72fd3838c6cc861e5061d99316c35eed62a3fb85 (patch) | |
tree | 85dcf36fe07d4afa87d51842117ca096a072ad98 /board/renesas/lager | |
parent | 44e1eebf86efc917010b8fd482951b10c3b06453 (diff) | |
download | u-boot-72fd3838c6cc861e5061d99316c35eed62a3fb85.tar.xz |
arm: rmobile: rcar: Move arch_preboot_os function to rcar-gen2-common/common.c
The arch_preboot_os function used in boards using R-Car ARM SoC (r8a7790,
r8a7791, r8a7793 and r8a7794) is common.
This makes rcar-gen2-common/common.c file providing common function for
R-Car ARM SoC, and moves this function to this file.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/lager')
-rw-r--r-- | board/renesas/lager/Makefile | 2 | ||||
-rw-r--r-- | board/renesas/lager/lager.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/board/renesas/lager/Makefile b/board/renesas/lager/Makefile index 034c6f8c07..8d034611a4 100644 --- a/board/renesas/lager/Makefile +++ b/board/renesas/lager/Makefile @@ -6,4 +6,4 @@ # SPDX-License-Identifier: GPL-2.0 # -obj-y := lager.o qos.o +obj-y := lager.o qos.o ../rcar-gen2-common/common.o diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 47cf51bdcd..4afb1ac355 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -67,12 +67,6 @@ int board_early_init_f(void) return 0; } -void arch_preboot_os(void) -{ - /* Disable TMU0 */ - mstp_setbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125); -} - DECLARE_GLOBAL_DATA_PTR; int board_init(void) { |