aboutsummaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2022-06-22 11:11:45 +0200
committerTom Rini <trini@konsulko.com>2022-07-08 10:56:45 -0400
commit7886c45d422ca92f86a88580442bd526435bec25 (patch)
tree2d5830a6bb3aa586fa97af1779e8dbe3d563a453 /drivers/led
parent8142c4554ffaa927529f24427a35f7ee2861793a (diff)
downloadu-boot-7886c45d422ca92f86a88580442bd526435bec25.zip
u-boot-7886c45d422ca92f86a88580442bd526435bec25.tar.gz
u-boot-7886c45d422ca92f86a88580442bd526435bec25.tar.bz2
mtd: rawnand: Add support to dedicated function to set timings
With the current code if the board has an ONFI compliant NAND without support to the get and set features, U-boot returns an ENOTSUP error when trying to tune the timings which prevents the probe of the device. Indeed onfi_set_features() return ENOTSUP error if set/get features is not supported. In the case of timings we should not return ENOTSUP because we can use the default timings. The NAND is already capable of listening at its highest supported rate, so we assume in this case that it is fine to skip the operation. Fix it by adding an intermediate nand_onfi_set_timings() function which does not error out if set/get feature is not supported. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/led')
0 files changed, 0 insertions, 0 deletions