Skip to content

Commit

Permalink
ELBERT: setup_i2c: always enumerate bmc eeprom (#115)
Browse files Browse the repository at this point in the history
Summary:
- Allow BMC eeprom to be enumerated even not in BMC mode, for improved
  debugging and traceability.

Testing:
BMC eeprom loaded in both BMC and not BMC mode.

Pull Request resolved: facebookexternal/openbmc.arista#115

Reviewed By: tao-ren

fbshipit-source-id: 70ea34d8f4
  • Loading branch information
joancaneus authored and facebook-github-bot committed Dec 4, 2020
1 parent 3c35bfb commit f246551
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
# shellcheck disable=SC1091
. /usr/local/bin/openbmc-utils.sh

i2c_device_add 0 0x50 24c512
if ! wedge_is_bmc_personality; then
echo "uServer is not in BMC personality. Skipping all power-on sequences."
return
Expand Down Expand Up @@ -67,7 +68,6 @@ hwmon_device_add 11 0x4c max6658
# Currently not using I2C TPM
# i2c_device_add 0 0x20 tpm_i2c_infineon
# i2c_device_add 0 0x2e tpm_i2c_infineon
i2c_device_add 0 0x50 24c512

# SMBus 3 - Switchcard ECB/VRD
i2c_device_add 3 0x40 pmbus
Expand Down

0 comments on commit f246551

Please sign in to comment.