Commit 17b5e854 authored by Peter Jansweijer's avatar Peter Jansweijer

spec7: don't put eeprom device/i2c bus on the stack!

parent a022a284
......@@ -94,13 +94,14 @@ int wrc_board_early_init()
return 0;
}
struct i2c_bus dev_i2c_eeprom;
struct i2c_eeprom_device wrc_eeprom_dev;
int wrc_board_init()
{
// int memtype;
// uint32_t sdbfs_entry;
// uint32_t sector_size;
struct i2c_bus dev_i2c_eeprom;
struct i2c_eeprom_device wrc_eeprom_dev;
/*
* declare GPIO pins and configure their directions for bit-banging SPI
......
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