summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-09-02 16:02:37 -0600
committerTom Rini <[email protected]>2024-09-02 16:02:37 -0600
commitb977af178fd79bf31b69f9a777d0adb9d564c531 (patch)
tree4890bbeefca0f83cd7b8b5b47506c431a9b6429c /include/linux
parent8c069df8dd727bf78426aaa4604750ab93732f04 (diff)
parent35ff967a99e97b523732096628bdbc78758922f6 (diff)
Merge tag 'u-boot-amlogic-next-20240902' of https://source.denx.de/u-boot/custodians/u-boot-amlogic into next
- meson_nand: R/W support for pages used by boot ROM
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/rawnand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 537c62424a1..2d85b392465 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -247,6 +247,11 @@ enum nand_ecc_algo {
* kmap'ed, vmalloc'ed highmem buffers being passed from upper layers
*/
#define NAND_USE_BOUNCE_BUFFER 0x00100000
+/*
+ * Whether the NAND chip is a boot medium. Drivers might use this information
+ * to select ECC algorithms supported by the boot ROM or similar restrictions.
+ */
+#define NAND_IS_BOOT_MEDIUM 0x00400000
/*
* Do not try to tweak the timings at runtime. This is needed when the