rockchip: rv1126: make #if...#else...#endif more clearly

Add Space indentation before '#'.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7ded69adb328513b97f2ffb36329d8584cd5d2cd
This commit is contained in:
Joseph Chen 2021-02-08 10:48:28 +08:00 committed by Jianhong Chen
parent bc8c2a6ddb
commit fbdf150e84
1 changed files with 12 additions and 12 deletions

View File

@ -683,7 +683,8 @@ int arch_cpu_init(void)
/* hold pmugrf's io reset */
writel(0x1 << 7 | 1 << 23, PMUGRF_SOC_CON1);
#else
#else /* U-Boot */
/* uboot: config iomux for sd boot upgrade firmware */
#if defined(CONFIG_ROCKCHIP_SFC_IOMUX)
static struct rv1126_grf * const grf = (void *)GRF_BASE;
@ -705,11 +706,10 @@ int arch_cpu_init(void)
writel(0xFFFF1111, &grf->gpio1a_iomux_l);
#endif
#endif
#if defined(CONFIG_ROCKCHIP_SFC) && (defined(CONFIG_SPL_BUILD) || defined(CONFIG_SUPPORT_USBPLUG))
/* GPIO0_D6 pull down in default, pull up it for SPI Flash */
writel(((0x3 << 12) << 16) | (0x1 << 12), GRF1_GPIO0D_P);
#endif
#endif
return 0;
}