Skip to content
Snippets Groups Projects
Commit ae7a74a6 authored by Marek Vasut's avatar Marek Vasut Committed by Nobuhiro Iwamatsu
Browse files

ARM: rmobile: salvator-x: Use BIT() macro in board file


Cosmetic change, replace (1 << (n)) with BIT(n) .

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
parent 2aef8f32
No related branches found
No related tags found
No related merge requests found
...@@ -44,10 +44,10 @@ void s_init(void) ...@@ -44,10 +44,10 @@ void s_init(void)
writel(0xFFFFFFFF, CPGWPR); writel(0xFFFFFFFF, CPGWPR);
} }
#define GSX_MSTP112 (1 << 12) /* 3DG */ #define GSX_MSTP112 BIT(12) /* 3DG */
#define TMU0_MSTP125 (1 << 25) /* secure */ #define TMU0_MSTP125 BIT(25) /* secure */
#define TMU1_MSTP124 (1 << 24) /* non-secure */ #define TMU1_MSTP124 BIT(24) /* non-secure */
#define SCIF2_MSTP310 (1 << 10) /* SCIF2 */ #define SCIF2_MSTP310 BIT(10) /* SCIF2 */
int board_early_init_f(void) int board_early_init_f(void)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment