From: Ian Campbell Date: Tue, 05 Aug 2014 07:44:35 +0100 Subject: [U-Boot] [PATCH v2 07/16] sunxi: dram: Add 'await_bits_clear'/'await_bits_set' helper functions In-Reply-To: <1407033174-24603-8-git-send-email-siarhei.siamashka@gmail.com> References: <1407033174-24603-1-git-send-email-siarhei.siamashka@gmail.com> <1407033174-24603-8-git-send-email-siarhei.siamashka@gmail.com> Message-ID: <1407221075.23472.22.camel@dagon.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2014-08-03 at 05:32 +0300, Siarhei Siamashka wrote: > 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 Acked-by: Ian Campbell