Commit e23eb942ad103f6d3dd15d9346bb1ea132899963

Authored by Marek Vasut
1 parent 5271dda050

ARM: rmobile: Stop using rcar-common/common.c on Gen3

Since the Gen3 clock driver now has a .remove callback, it is no
longer necessary to shut the clock down before booting Linux in the
arch_preboot_os hook. Stop using it and while doing so, remove all
the ad-hoc config options which this hook used.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

Showing 4 changed files with 2 additions and 18 deletions Side-by-side Diff

board/renesas/salvator-x/Makefile
... ... @@ -6,5 +6,5 @@
6 6 # SPDX-License-Identifier: GPL-2.0+
7 7 #
8 8  
9   -obj-y := salvator-x.o ../rcar-common/common.o
  9 +obj-y := salvator-x.o
board/renesas/ulcb/Makefile
... ... @@ -6,5 +6,5 @@
6 6 # SPDX-License-Identifier: GPL-2.0+
7 7 #
8 8  
9   -obj-y := ulcb.o cpld.o ../rcar-common/common.o
  9 +obj-y := ulcb.o cpld.o
include/configs/salvator-x.h
... ... @@ -62,13 +62,5 @@
62 62 #define CONFIG_SYS_MMC_ENV_DEV 1
63 63 #define CONFIG_SYS_MMC_ENV_PART 2
64 64  
65   -/* Module stop status bits */
66   -/* MFIS, SCIF1 */
67   -#define CONFIG_SMSTP2_ENA 0x00002040
68   -/* SCIF2 */
69   -#define CONFIG_SMSTP3_ENA 0x00000400
70   -/* INTC-AP, IRQC */
71   -#define CONFIG_SMSTP4_ENA 0x00000180
72   -
73 65 #endif /* __SALVATOR_X_H */
include/configs/ulcb.h
... ... @@ -83,13 +83,5 @@
83 83 #define CONFIG_SYS_MMC_ENV_DEV 1
84 84 #define CONFIG_SYS_MMC_ENV_PART 2
85 85  
86   -/* Module stop status bits */
87   -/* MFIS, SCIF1 */
88   -#define CONFIG_SMSTP2_ENA 0x00002040
89   -/* SCIF2 */
90   -#define CONFIG_SMSTP3_ENA 0x00000400
91   -/* INTC-AP, IRQC */
92   -#define CONFIG_SMSTP4_ENA 0x00000180
93   -
94 86 #endif /* __ULCB_H */