]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: implement support for LED activity
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 1 Oct 2024 12:24:40 +0000 (14:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 22:02:20 +0000 (16:02 -0600)
commit0319bae9e72922f55dd34e90aedf14cf1dd93045
tree96bdf186dc966367518c3b89ce9df64b892487b3
parent5d162bbb203502516b92934b78316b874c20d176
mtd: implement support for LED activity

Implement support for LED activity. If the feature is enabled,
make the defined ACTIVITY LED to signal mtd operations.

LED activity is implemented HERE and not in the subsystem side to limit
any performance degradation in case multiple call to MTD subsystem read/write
are done.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/mtd.c