commit | 5591ec10919d680af9abd078e8146a9ef186a620 | [log] [tgz] |
---|---|---|
author | davidcunado-arm <david.cunado@arm.com> | Tue Jan 16 10:44:30 2018 +0000 |
committer | GitHub <noreply@github.com> | Tue Jan 16 10:44:30 2018 +0000 |
tree | d818e60b05af91b2d684ad59c9d84735f2ee14b0 | |
parent | e41aa921e2b891e59517836b3eeb07cae898c81b [diff] | |
parent | 5f386c0bfaff481c197895618cfcf41ab2ccf317 [diff] |
Merge pull request #1221 from hzhuang1/fix_HLE emmc/dw_mmc: fix the assert on HLE bit
diff --git a/drivers/synopsys/emmc/dw_mmc.c b/drivers/synopsys/emmc/dw_mmc.c index e6904d1..701e6d5 100644 --- a/drivers/synopsys/emmc/dw_mmc.c +++ b/drivers/synopsys/emmc/dw_mmc.c
@@ -146,7 +146,7 @@ if ((data & CMD_START) == 0) break; data = mmio_read_32(dw_params.reg_base + DWMMC_RINTSTS); - assert(data & INT_HLE); + assert((data & INT_HLE) == 0); } }