/* Check a register that we set up to see if clock_early_init() has already been called. */
bool clock_early_init_done(void)
/* Check a register that we set up to see if clock_early_init() has already been called. */
bool clock_early_init_done(void)
{
	struct clk_rst_ctlr *clkrst = (struct clk_rst_ctlr *)NV_PA_CLK_RST_BASE;
	u32 val;
	val = readl(&clkrst->crc_sclk_brst_pol);
	return val == 0x20002222;
}