/* Routine: wait_for_command_complete Description: Wait for posting to finish on watchdog  */
void wait_for_command_complete(struct watchdog *wd_base)
/* Routine: wait_for_command_complete Description: Wait for posting to finish on watchdog  */
void wait_for_command_complete(struct watchdog *wd_base)
{
	int pending = 1;
	do {
		pending = readl(&wd_base->wwps);
	} while (pending);
}