Files
u-boot/drivers
Masahiro Yamada e8f65763ef mtd: nand: denali: fix unaligned cache operations on ARMv7 SoCs
If the OOB size is not multiple of the cache line size, the ARMv7
cache operation still prints "Misaligned operation at range".

=> nand info

Device 0: nand0, sector size 256 KiB
  Page size       4096 b
  OOB size         224 b
  Erase size    262144 b
  subpagesize     4096 b
  options     0x00104200
  bbt options 0x00060000
=> nand dump 0
CACHE: Misaligned operation at range [9fb15280, 9fb16360]
CACHE: Misaligned operation at range [9fb15280, 9fb16360]
CACHE: Misaligned operation at range [9fb15280, 9fb16360]
CACHE: Misaligned operation at range [9fb15280, 9fb16360]
  ...

The cache flushing operations won't happen in this case to cover all of
the range to fix this by making sure we have things aligned.

Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[trini: Reword the commit message to be clear this is a direct problem
rather than just a warning]
2018-09-10 14:08:22 -04:00
..
2018-08-03 19:53:10 -04:00
2018-07-26 10:59:35 -07:00
2018-08-08 13:38:17 +02:00
2018-08-30 15:32:59 +02:00
2018-08-17 13:03:54 -04:00
2018-08-14 11:31:19 +02:00
2018-07-20 15:55:05 -04:00
2018-07-19 16:31:38 -04:00
2018-08-03 11:14:08 +05:30
2018-08-29 03:10:30 +02:00
2018-08-11 08:07:36 +02:00
2018-08-11 08:07:36 +02:00