diff options
author | Marek Vasut <marex@denx.de> | 2019-05-17 16:58:52 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-06-11 10:42:48 +0200 |
commit | 0050c929c23077763bfea639a338054985bab8b3 (patch) | |
tree | 1e609a1ccd94b28e9a12e39f7372b4b89f6eb047 /board/dhelectronics | |
parent | 198fee844b0147feeb016aedc44b58069eb5d77e (diff) | |
download | u-boot-0050c929c23077763bfea639a338054985bab8b3.tar.gz |
ARM: imx: dh-imx6: Convert SATA support to DM
Enable DM SATA support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/dhelectronics')
-rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 193bb0eade..737d9c6be3 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -20,6 +20,8 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/sata.h> +#include <ahci.h> +#include <dwc_ahsata.h> #include <environment.h> #include <errno.h> #include <fsl_esdhc.h> @@ -302,10 +304,6 @@ int board_init(void) } #endif -#ifdef CONFIG_SATA - setup_sata(); -#endif - setup_dhcom_mac_from_fuse(); return 0; |