Commit 774d9cee authored by Peter Jansweijer's avatar Peter Jansweijer

repair, squash with initial sit5359 device addition

parent c7b2a945
Pipeline #3586 failed with stage
in 2 minutes and 5 seconds
......@@ -57,7 +57,7 @@ struct
{
struct gpio_device gpio_aux;
struct spi_bus spi_ltc6950;
struct ltc6950_device ltc6950_pll;
struct ltc695x_device ltc6950_pll;
struct wr_sit5359_interface_device sit5359;
int pll_wr_mode;
......@@ -336,15 +336,13 @@ int wrc_board_early_init()
/* create and initialize UID eeprom I2C bus */
i2c_eeprom_create(&wrc_uid_dev, &i2c_wrc_eeprom, UID_EEPROM_ADR, 1);
wr_sit5359_interface_init( &board.sit5359, (void *) BASE_SIT5359_INTERFACE, SIT5359_I2C_ADDR );
wr_sit5359_interface_init( &board.sit5359, BASE_SIT5359_INTERFACE, SIT5359_I2C_ADDR );
return 0;
}
int wrc_board_init()
{
int i;
uint32_t rfreq;
uint8_t regs[6];
// set I2C bus speed and OSC Output enable
......@@ -362,6 +360,9 @@ int wrc_board_init()
board_dbg("SiT5359 Regs: %x:%x:%x:%x:%x:%x\n",regs[0],regs[1],regs[2],regs[3],regs[4],regs[5]);
/*
int i;
uint32_t rfreq;
// loop through frequency control word
for(i = 0; i < 65536; i ++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment