Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/decode-syseeprom
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ def main():

(opts, args) = get_cmdline_opts()

use_db = opts.db and support_eeprom_db

# Get platform name
platform = device_info.get_platform()

Expand All @@ -238,6 +236,8 @@ def main():
if any(re.match(p, platform) for p in platforms_without_eeprom_db):
support_eeprom_db = False

use_db = opts.db and support_eeprom_db

if opts.mgmtmac:
print_mgmt_mac(use_db)
elif opts.serial:
Expand Down