diff options
author | Arseniy Krasnov <[email protected]> | 2024-05-08 02:09:03 +0300 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2024-05-27 13:52:11 +0200 |
commit | 04a81b4f9ba1a473af7715168306c23ca4e15a25 (patch) | |
tree | a6d6f177085199727989232219f826f71f1d53aa /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2234585f5c12f2a633fff715cca32ce0b40cfa29 (diff) |
mtd: rawnand: meson: read/write access for boot ROM pages
Boot ROM on Meson needs some pages to be read/written in a special mode:
384 byte ECC mode (so called "short" by Amlogic) and with scrambling
enabled. Such pages are located on the chip in the following way (for
example):
[ p0 ][ p1 ][ p2 ][ p3 ][ p4 ][ p5 ][ p6 ][ p7 ] ... [ pN ]
^ ^ ^ ^
pX is page number "X". "^" means "special" page used by boot ROM - e.g.
every 2nd page in the range of [0, 7]. Step (2 here) and last page in
range is read from the device tree.
Signed-off-by: Arseniy Krasnov <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions