• Max Filippov's avatar
    xtensa: clean up udelay · 58f60c22
    Max Filippov authored
    Replace division with shift, use ccount_freq instead of loops_per_jiffy.
    Introduce __MAX_UDELAY and (undefined) __bad_udelay, break build for too
    big udelay constants.
    Remove irrelevant comment, clean up code style.
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    58f60c22
delay.h 1.18 KB