diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2014-08-03 05:32:45 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-08-12 08:42:33 +0200 |
commit | 94cd3019881523b7776138f93f9e6b9849adc4d4 (patch) | |
tree | 1ea92eddeb6fe953a782363d1958e13f590311ef /arch/arm/cpu/armv7/sunxi/cpu_info.c | |
parent | cfc89b003bb2600eb330939da0f53b9caf3e17fa (diff) |
sunxi: dram: Add 'await_bits_clear'/'await_bits_set' helper functions
The old 'await_completion' function is not sufficient, because
in some cases we want to wait for bits to be cleared, and in the
other cases we want to wait for bits to be set. So split the
'await_completion' into two new 'await_bits_clear' and
'await_bits_set' functions.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/cpu_info.c')
0 files changed, 0 insertions, 0 deletions