Files
u-boot/drivers
Patrick Delaunay 212875e707 mmc: fix error message for unaligned erase request
Fix the end address in the message for unaligned erase request in
mmc_berase() when start + blkcnt is aligned to erase_grp_size.

for example:
  - start = 0x2000 - 26
  - count = 26
  - erase_grp_size = 0x400

  Caution! Your devices Erase group is 0x400
  The erase range would be change to 0x2000~0x27ff

But no issue when the end address is not aligned, for example
  - start = 0x2000 - 2 * 26
  - count = 26
  - erase_grp_size = 0x400

  Caution! Your devices Erase group is 0x400
  The erase range would be change to 0x2000~0x23ff

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-06-15 15:34:18 +09:00
..
2022-04-25 09:25:00 +02:00
2022-05-02 09:58:13 -04:00
2022-05-02 09:58:13 -04:00
2021-10-05 08:50:15 -04:00
2022-03-30 13:02:55 -04:00
2022-01-13 07:57:49 -05:00
2022-04-28 09:26:44 -04:00
2022-01-13 07:57:49 -05:00
2022-06-03 11:15:24 -04:00
2022-05-20 12:36:48 +02:00
2022-05-02 09:58:13 -04:00
2022-04-11 10:28:04 -04:00
2022-05-05 09:28:47 -04:00
2022-05-03 21:39:22 +02:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00