summaryrefslogtreecommitdiff
path: root/cmd/stackprot_test.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2025-04-07 20:59:51 +0200
committerTom Rini <trini@konsulko.com>2025-05-05 14:16:59 -0600
commit03fb08d4aef8c342b583e148d1b5c4d289c5572f (patch)
treebdc197033132b4e2cc1254129bab55b5a9084f04 /cmd/stackprot_test.c
parentf717d798becf2dffd5816484962c350808e98a18 (diff)
env: Introduce support for MTD
Introduce support for env in generic MTD. Currently we only support SPI flash based on the lagacy sf cmd that assume SPI flash are always NOR. This is not the case as to SPI controller also NAND can be attached. To support also these flash scenario, add support for storing and reading ENV from generic MTD device by adding an env driver that base entirely on the MTD api. Introduce a new kconfig CONFIG_ENV_IS_IN_MTD and CONFIG_ENV_MTD_DEV to define the name of the MTD device as exposed by mtd list. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'cmd/stackprot_test.c')
0 files changed, 0 insertions, 0 deletions