projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9402caf
)
imx: mx7: fix build warning when CONFIG_IMX_RDC not enabled
author
Peng Fan
<
[email protected]
>
Sat, 12 Aug 2017 14:10:57 +0000
(22:10 +0800)
committer
Stefano Babic
<
[email protected]
>
Wed, 16 Aug 2017 10:43:09 +0000
(12:43 +0200)
Fix build warning when CONFIG_IMX_RDC not defined in defconfig.
Signed-off-by: Peng Fan <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
arch/arm/mach-imx/mx7/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mx7/soc.c
b/arch/arm/mach-imx/mx7/soc.c
index 4cf977e20a30ea8dbfbda83f99645561b75c8909..ec74b4c8209bcd344f404c8d5db4f28d83686e7d 100644
(file)
--- a/
arch/arm/mach-imx/mx7/soc.c
+++ b/
arch/arm/mach-imx/mx7/soc.c
@@
-31,7
+31,7
@@
U_BOOT_DEVICE(imx7_thermal) = {
};
#endif
-#if
def CONFIG_IMX_RDC
+#if
CONFIG_IS_ENABLED(IMX_RDC)
/*
* In current design, if any peripheral was assigned to both A7 and M4,
* it will receive ipg_stop or ipg_wait when any of the 2 platforms enter
@@
-245,8
+245,9
@@
int arch_cpu_init(void)
mxs_dma_init();
#endif
- if (IS_ENABLED(CONFIG_IMX_RDC))
- isolate_resource();
+#if CONFIG_IS_ENABLED(IMX_RDC)
+ isolate_resource();
+#endif
return 0;
}