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:
a3c252d
)
imx: mx6: implement reset_misc
author
Peng Fan
<Peng.Fan@freescale.com>
Thu, 29 Oct 2015 07:54:50 +0000
(15:54 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 12 Nov 2015 16:40:53 +0000
(17:40 +0100)
We need to power down lcdif before uboot reset to make reset can pass
stress test.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx6/soc.c
b/arch/arm/cpu/armv7/mx6/soc.c
index d545021259fd993b2a2d2ffb53ea6ec3f7c1b288..bf5ae8cdffd8b0887291249332b06f66dc644832 100644
(file)
--- a/
arch/arm/cpu/armv7/mx6/soc.c
+++ b/
arch/arm/cpu/armv7/mx6/soc.c
@@
-400,6
+400,13
@@
const struct boot_mode soc_boot_modes[] = {
{NULL, 0},
};
+void reset_misc(void)
+{
+#ifdef CONFIG_VIDEO_MXS
+ lcdif_power_down();
+#endif
+}
+
void s_init(void)
{
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;