summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qsabreauto
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-05 10:56:30 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:41 +0800
commit684958f4162c12b923636f97ce0c5a32747cc62b (patch)
treec084e518b69b149b73ed88408ab652c4e1ccccbf /board/freescale/mx6qsabreauto
parent28ae592dc9ec6611e5b7ced1fa4e08b8f930da0f (diff)
downloadu-boot-imx-684958f4162c12b923636f97ce0c5a32747cc62b.zip
u-boot-imx-684958f4162c12b923636f97ce0c5a32747cc62b.tar.gz
u-boot-imx-684958f4162c12b923636f97ce0c5a32747cc62b.tar.bz2
ENGR00315894-17 imx6q:sabresd/sabreauto: add SATA support
This patch adds the SATA support for i.mx6qsabresd and i.mx6qsabreauto board Signed-off-by: Jason Liu <r64343@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/freescale/mx6qsabreauto')
-rw-r--r--board/freescale/mx6qsabreauto/mx6q.cfg2
-rw-r--r--board/freescale/mx6qsabreauto/mx6qsabreauto.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6q.cfg b/board/freescale/mx6qsabreauto/mx6q.cfg
index 27cfaee..75ccc24 100644
--- a/board/freescale/mx6qsabreauto/mx6q.cfg
+++ b/board/freescale/mx6qsabreauto/mx6q.cfg
@@ -131,7 +131,7 @@ DATA 4, 0x020c406c, 0x0030FC03
DATA 4, 0x020c4070, 0x0FFFC000
DATA 4, 0x020c4074, 0x3FF00000
DATA 4, 0x020c4078, 0xFFFFF300
-DATA 4, 0x020c407c, 0x0F0000C3
+DATA 4, 0x020c407c, 0x0F0000F3
DATA 4, 0x020c4080, 0x00000FFF
/* enable AXI cache for VDOA/VPU/IPU */
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
index 0625a17..0c592fe 100644
--- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c
+++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
@@ -25,6 +25,9 @@
#include <asm/arch/sys_proto.h>
#include <i2c.h>
+#ifdef CONFIG_CMD_SATA
+#include <asm/imx-common/sata.h>
+#endif
#ifdef CONFIG_FASTBOOT
#include <fastboot.h>
#ifdef CONFIG_ANDROID_RECOVERY
@@ -609,6 +612,10 @@ int board_early_init_f(void)
#ifdef CONFIG_SYS_USE_NAND
setup_gpmi_nand();
#endif
+
+#ifdef CONFIG_CMD_SATA
+ setup_sata();
+#endif
return 0;
}