diff options
author | Adam Ford <aford173@gmail.com> | 2018-10-08 14:13:03 -0500 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-10 11:34:10 +0530 |
commit | c8602061a7b27fe874a454b0ec65f1e45621adbb (patch) | |
tree | 101fb991f77d66a015f83c3a5f62be493a0e20b5 /drivers/gpio/mxc_gpio.c | |
parent | 0a60a81ba3860946551cb79aa6486aa076e357f3 (diff) |
mtd: uboot: Fix hanging during mtd list command
Some boards (like omap3_logic) hang when trying to access
address 0. This happens when executing the new 'mtd list' command.
This patch enhances the checks for conditions that would
preclude mtd_probe_devices() from operating.
Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command")
Suggested-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/gpio/mxc_gpio.c')
0 files changed, 0 insertions, 0 deletions