]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: tbs2910: Convert sata to ahci driver model
authorSoeren Moch <smoch@web.de>
Fri, 1 Mar 2019 12:11:00 +0000 (13:11 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:09 +0000 (20:30 +0200)
While at it, also configure 64-bit LBA support.

Signed-off-by: Soeren Moch <smoch@web.de>
board/tbs/tbs2910/tbs2910.c
configs/tbs2910_defconfig
include/configs/tbs2910.h

index 2445efbde2c79550670897203e1115cd091cfb99..84c813e29f02293018628df4ef012346d17d33a1 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/errno.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/iomux-v3.h>
-#include <asm/mach-imx/sata.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/video.h>
 #include <mmc.h>
@@ -374,9 +373,6 @@ int board_init(void)
 #ifdef CONFIG_VIDEO_IPUV3
        setup_display();
 #endif
-#ifdef CONFIG_DWC_AHSATA
-       setup_sata();
-#endif
 #ifdef CONFIG_CMD_BMODE
        add_board_boot_modes(board_boot_modes);
 #endif
index 153f61d09d6c12deee201b6c8816098b8d8ca64e..54e34df6aadf73050f53f79fbe2a9f32ec563262 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_ARCH_MX6=y
 CONFIG_SYS_TEXT_BASE=0x17800000
 CONFIG_TARGET_TBS2910=y
 CONFIG_CMD_HDMIDETECT=y
+CONFIG_AHCI=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=3
 CONFIG_PRE_CONSOLE_BUFFER=y
index eff93eff4f55c80d7f69782f301bc4aafe490c1b..a211b9d611c313315e8da69f27c3e391113c959d 100644 (file)
@@ -77,6 +77,7 @@
 #define CONFIG_DWC_AHSATA_PORT_ID      0
 #define CONFIG_DWC_AHSATA_BASE_ADDR    SATA_ARB_BASE_ADDR
 #define CONFIG_LBA48
+#define CONFIG_SYS_64BIT_LBA
 #endif
 
 /* USB */