diff options
author | Eric Nelson <eric@nelint.com> | 2015-12-07 07:50:01 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-08-09 20:07:48 +0800 |
commit | e70669851349407f2bc841aaf7a0b7fc079bd8c3 (patch) | |
tree | f81ac396a300d04ca25f2bb3da1a8fe67ddd9c75 /include/configs/rpi.h | |
parent | ced0fbbd84ddf43f8d06db1bff6e0f4b5258537e (diff) | |
download | u-boot-imx-e70669851349407f2bc841aaf7a0b7fc079bd8c3.zip u-boot-imx-e70669851349407f2bc841aaf7a0b7fc079bd8c3.tar.gz u-boot-imx-e70669851349407f2bc841aaf7a0b7fc079bd8c3.tar.bz2 |
mmc: update MMC_ERASE argument to match Linux kernel.
Table 41 of the JEDEC standard for eMMC says that bit 31 of
the command argument is obsolete when issuing the ERASE
command (CMD38) on page 115 of this document:
http://www.jedec.org/sites/default/files/docs/jesd84-B45.pdf
The SD Card Association Physical Layer Simplified Specification also
makes no mention of the use of bit 31.
https://www.sdcard.org/downloads/pls/part1_410.pdf
The Linux kernel distinguishes between secure (bit 31 set) and
non-secure erase, and this patch copies the macro names from
include/linux/mmc/core.h.
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Eric Nelson <eric@nelint.com>
Tested-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 1aa2d074a7acda61eb43e654ced21c139703633c)
Diffstat (limited to 'include/configs/rpi.h')
0 files changed, 0 insertions, 0 deletions