/* Initialize the power controller and set the core and peripherals clock divider.  */
int32_t pwr_setup(void)
/* Initialize the power controller and set the core and peripherals clock divider.  */
int32_t pwr_setup(void)
{
	int32_t ret;
	ret = adi_pwr_Init();
	if(ret != SUCCESS)
		return FAILURE;
	ret = adi_pwr_SetClockDivider(ADI_CLOCK_HCLK,1);
	if(ret != SUCCESS)
		return FAILURE;
	return adi_pwr_SetClockDivider(ADI_CLOCK_PCLK,1);
}