mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
block: dwc_ahsata: support i.MX6DQPlus
i.MX6DQPlus support sata interface, so not return failure when CPU is i.MX6DQPlus. In this patch, also use simpler runtime cpu dections macros to replace is_cpu_type. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tang Yuantian <Yuantian.Tang@freescale.com> Cc: Shaohui Xie <Shaohui.Xie@freescale.com> Cc: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
87f9989502
commit
3fd9eb6689
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ int init_sata(int dev)
|
|||
struct ahci_probe_ent *probe_ent = NULL;
|
||||
|
||||
#if defined(CONFIG_MX6)
|
||||
if (!is_cpu_type(MXC_CPU_MX6Q) && !is_cpu_type(MXC_CPU_MX6D))
|
||||
if (!is_mx6dq() && !is_mx6dqp())
|
||||
return 1;
|
||||
#endif
|
||||
if (dev < 0 || dev > (CONFIG_SYS_SATA_MAX_DEVICE - 1)) {
|
||||
|
|
Loading…
Reference in a new issue