summaryrefslogtreecommitdiff
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-06 08:17:00 (GMT)
committerScott Wood <oss@buserror.net>2016-06-20 00:12:01 (GMT)
commitbb9783b66bf56a27b4db8dc444dda6c380816e99 (patch)
treeb1a6319dd76982d623dac1ef63d0007831385195 /drivers/Kconfig
parentfa3011587887ba222bc9337d9ac17f3000db63b2 (diff)
downloadu-boot-bb9783b66bf56a27b4db8dc444dda6c380816e99.tar.xz
spl: nand: sunxi: rework status polling loop
check_value_xxx() helpers are using a 1ms delay between each test, which can be quite long for some operations (like a page read on an SLC NAND). Since we don't have anything to do but to poll this register, reduce the delay between each test to 1us. While we're at it, rename the max_number_of_retries parameters and the MAX_RETRIES macro into timeout_us and DEFAULT_TIMEOUT_US to reflect that we're actually waiting a given amount of time and not only a number of retries. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions