/* The queries the low order bit of the status register, which indicates whether the current configuration or readback operation has completed.  */
static bool buffer_icap_busy(void __iomem *base_address)
/* The queries the low order bit of the status register, which indicates whether the current configuration or readback operation has completed.  */
static bool buffer_icap_busy(void __iomem *base_address)
{
	u32 status = in_be32(base_address + XHI_STATUS_REG_OFFSET);
	return (status & 1) == XHI_NOT_FINISHED;
}