Skip to content
Commit ee7296bb authored by Takahiro Kuwano's avatar Takahiro Kuwano Committed by Jagan Teki
Browse files

mtd: spi-nor-core: Consider reserved bits in CFR5 register



CFR5[6] is reserved bit and must be always 1. Set it to comply with flash
requirements. While fixing SPINOR_REG_CYPRESS_CFR5V_OCT_DTR_EN definition,
stop using magic numbers and describe the missing bit fields in CFR5
register. This is useful for both readability and future possible addition
of Octal STR mode support.

Fixes: ea9a22f7 ("mtd: spi-nor-core: Add support for Cypress Semper flash")
Suggested-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: default avatarDhruva Gole <d-gole@ti.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 358f803a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment