Commit 73499adc authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

storage: remove legacy has_eeprom and thus bring back init executing at boot time

parent 426fccf2
......@@ -44,9 +44,6 @@
struct storage_device wrc_storage_dev;
struct sdbfs wrc_sdbfs;
// fixme: remove
uint8_t has_eeprom = 0;
struct storage_device;
......
......@@ -71,8 +71,6 @@
struct storage_device;
extern uint8_t has_eeprom;
struct s_sfpinfo {
char pn[SFP_PN_LEN];
int32_t alpha;
......
......@@ -272,9 +272,6 @@ void shell_boot_script(void)
{
uint8_t next = 0;
if (!has_eeprom)
return;
while (CONFIG_HAS_BUILD_INIT) {
cmd_len = build_init_readcmd((uint8_t *)cmd_buf,
SH_MAX_LINE_LEN);
......
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