diff options
author | Andre Przywara <andre.przywara@arm.com> | 2019-04-12 16:28:54 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-04-17 14:34:45 +0530 |
commit | f8c8669760610b2949d8d9ccaeef8231a44d4205 (patch) | |
tree | b2ba1412acd1bb0d64da31694fdf1937b3fe1b9e /include | |
parent | bb3362b0ca0771a511d4a622d591b4dea5cb15e4 (diff) | |
download | u-boot-f8c8669760610b2949d8d9ccaeef8231a44d4205.tar.gz u-boot-f8c8669760610b2949d8d9ccaeef8231a44d4205.tar.xz u-boot-f8c8669760610b2949d8d9ccaeef8231a44d4205.zip |
sunxi: update SATA driver to always use DM_SCSI
It seems like the Allwinner SATA driver is already quite capable of
using the driver model, so we can force this on all boards and can
remove support for a non-DM_SCSI build.
This removes the warning about boards with SATA ports not being
DM_SCSI compliant.
It also takes the opportunity to move the driver out of the board/sunxi
directory to join its siblings in drivers/ata, and to make it a proper
Kconfig citizen.
The board defconfigs stay untouched.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
[jagan: select DM_SCSI separately]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/sunxi-common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index b01d1c3c84..bc30994029 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -104,13 +104,7 @@ #define PHYS_SDRAM_0_SIZE 0x80000000 /* 2 GiB */ #ifdef CONFIG_AHCI -#define CONFIG_SCSI_AHCI_PLAT -#define CONFIG_SUNXI_AHCI #define CONFIG_SYS_64BIT_LBA -#define CONFIG_SYS_SCSI_MAX_SCSI_ID 1 -#define CONFIG_SYS_SCSI_MAX_LUN 1 -#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ - CONFIG_SYS_SCSI_MAX_LUN) #endif #define CONFIG_SETUP_MEMORY_TAGS |