Merge pull request #541 from antmicro/jboc/spd-read
authorenjoy-digital <florent@enjoy-digital.fr>
Wed, 27 May 2020 17:03:50 +0000 (19:03 +0200)
committerGitHub <noreply@github.com>
Wed, 27 May 2020 17:03:50 +0000 (19:03 +0200)
Add support for I2C to read SPD EEPROM

1  2 
litex/soc/software/bios/Makefile
litex/soc/software/bios/cmds/cmd_litedram.c
litex/tools/litex_sim.py

Simple merge
index b9a9f225b90706bc72d74122402a06936ce6c6ba,026ab882e9a59099edfb4b823115dcd018c37ac4..8c81017fc188bfac27516c0382cee4e7a98b61c0
@@@ -2,10 -2,12 +2,12 @@@
  
  #include <stdio.h>
  #include <stdlib.h>
+ #include <stdbool.h>
  
  #include <generated/csr.h>
+ #include <i2c.h>
  
 -#include "sdram.h"
 +#include <liblitedram/sdram.h>
  
  #include "../command.h"
  #include "../helpers.h"
Simple merge