10 #define CLOCK_UPDATE_DELAY 1000
18 unsigned int n,
unsigned int d)
94 const int max_tries = 200;
95 struct {
void *cbcr, *cmd, *cfg; } clk[] = {
133 write32(clk[
id].cfg, (1u << 8) | (20u << 0));
137 for (i = 0; i < max_tries; i++) {
145 if (i == max_tries) {
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
#define setbits32(addr, set)
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
#define GCC_BLSP1_QUP1_I2C_APPS_CBCR
#define GCC_BLSP1_UART_APPS_CFG_RCGR(x)
#define GCC_BLSP1_QUP1_I2C_APPS_CMD_RCGR
#define GCC_BLSP1_QUP1_I2C_APPS_CFG_RCGR
#define GCC_BLSP1_UART_APPS_CMD_RCGR(x)
#define GCC_BLSP1_UART_APPS_N(x)
#define GCC_CLK_BRANCH_ENA
#define GCC_BLSP1_UART_APPS_D(x)
#define GCC_BLSP1_UART_APPS_M(x)
#define GCC_BLSP1_UART_MISC(x)
int blsp_i2c_clock_config(blsp_qup_id_t id)
void nand_clock_config(void)
nand_clock_config - configure NAND controller clocks
#define CLOCK_UPDATE_DELAY
void uart_clock_config(unsigned int blsp_uart, unsigned int m, unsigned int n, unsigned int d)
uart_clock_config - configures UART clocks
void usb_clock_config(void)
usb_clock_config - configure USB controller clocks and reset the controller
#define USB30_MASTER_CLK_NS
#define ALWAYS_ON_CLK_BRANCH_ENA(i)
#define USB30_MOC_UTMI_CLK_CTL
#define USB30_1_MOC_UTMI_CLK_CTL
#define USB30_MASTER_CLK_CTL_REG
#define USB30_MOC_UTMI_CLK_MD
#define USB30_MASTER_CLK_MD
#define USB30_MOC_UTMI_CLK_NS
#define USB30_1_MASTER_CLK_CTL_REG
#define CLK_BRANCH_ENA(i)
#define m(clkreg, src_bits, pmcreg, dst_bits)