• Peter Maydell's avatar
    Merge remote-tracking branch 'remotes/cminyard/tags/i2c-for-release-20190228' into staging · 20b084c4
    Peter Maydell authored
    This has been out there long enough, I need to get this in.
    
    This was changed a little bit since my post on Feb 20 (to which
    there were no comments) due to changes I had to work around:
    
    Change b296b664 "smbus: Add a helper to generate SPD EEPROM
    data" added a function to include/hw/i2c/smbus.h, which I had to move to
    include/hw/smbus_eeprom.h.
    
    There were some changes to hw/i2c/Makefile.objs that I had to fix up.
    
    Beyond that, no changes.
    
    Thanks,
    
    -corey
    
    # gpg: Signature made Thu 28 Feb 2019 18:05:49 GMT
    # gpg:                using RSA key FD0D5CE67CE0F59A6688268661F38C90919BFF81
    # gpg: Good signature from "Corey Minyard <cminyard@mvista.com>" [unknown]
    # gpg:                 aka "Corey Minyard <minyard@acm.org>" [unknown]
    # gpg:                 aka "Corey Minyard <corey@minyard.net>" [unknown]
    # gpg:                 aka "Corey Minyard <minyard@mvista.com>" [unknown]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: FD0D 5CE6 7CE0 F59A 6688  2686 61F3 8C90 919B FF81
    
    * remotes/cminyard/tags/i2c-for-release-20190228:
      i2c: Verify that the count passed in to smbus_eeprom_init() is valid
      i2c:smbus_eeprom: Add a reset function to smbus_eeprom
      i2c:smbus_eeprom: Add vmstate handling to the smbus eeprom
      i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size
      i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c
      i2c:smbus_slave: Add an SMBus vmstate structure
      i2c:pm_smbus: Fix state transfer
      migration: Add a VMSTATE_BOOL_TEST() macro
      i2c:pm_smbus: Fix pm_smbus handling of I2C block read
      boards.h: Ignore migration for SMBus devices on older machines
      i2c:smbus: Make white space in switch statements consistent
      i2c:smbus_eeprom: Get rid of the quick command
      i2c:smbus: Simplify read handling
      i2c:smbus: Simplify write operation
      i2c:smbus: Correct the working of quick commands
      i2c: Don't check return value from i2c_recv()
      arm:i2c: Don't mask return from i2c_recv()
      i2c: have I2C receive operation return uint8_t
      i2c: Split smbus into parts
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    20b084c4