diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-05-23 18:35:56 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-05-24 14:59:56 +0200 |
commit | 27cd0da41e7c2f10d754efba0d178a5715d12bc2 (patch) | |
tree | 360773817cd643aff1da3e339542f53f9a908249 /arch/arm/imx-common/sata.c | |
parent | 003f0c7eb2f257eddc5173def53fcb5a137045c2 (diff) | |
download | u-boot-imx-27cd0da41e7c2f10d754efba0d178a5715d12bc2.zip u-boot-imx-27cd0da41e7c2f10d754efba0d178a5715d12bc2.tar.gz u-boot-imx-27cd0da41e7c2f10d754efba0d178a5715d12bc2.tar.bz2 |
imx-common: use simpler runtime cpu dection macros
Use simpler runtime cpu dection macros.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Cc: "Benoît Thébaudeau" <benoit.thebaudeau.dev@gmail.com>
Diffstat (limited to 'arch/arm/imx-common/sata.c')
-rw-r--r-- | arch/arm/imx-common/sata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/sata.c b/arch/arm/imx-common/sata.c index d174a46..dd9698d 100644 --- a/arch/arm/imx-common/sata.c +++ b/arch/arm/imx-common/sata.c @@ -15,7 +15,7 @@ int setup_sata(void) struct iomuxc *const iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR; int ret; - if (!is_cpu_type(MXC_CPU_MX6Q) && !is_cpu_type(MXC_CPU_MX6D)) + if (!is_mx6dq()) return 1; ret = enable_sata_clock(); |