[arista] Improve platform detection mechanism (#3921)

Rely on platform= and sid= on the command line to detect the platform rather than the eeprom
The platform will now properly initialize even if the system eeprom died or is unreachable.

Add support for the 7260CX3-64E
This is a variant of the 7260CX3-64 with no real difference for software.
This commit is contained in:
Samuel Angebault 2019-12-18 22:46:26 -08:00 committed by lguohan
parent 9583a74b47
commit e9e6bc58a7
3 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ platform_specific() {
flash_size=3700
echo "amd_iommu=off" >> /tmp/append
fi
if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaSsd" ]; then
if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaSsd" ] || [ "$sid" = "GardenaE" ]; then
aboot_machine=arista_7260cx3_64
flash_size=28000
fi

@ -1 +1 @@
Subproject commit 418af37fa5ba6f3143bfcd8ea09ad50511334d44
Subproject commit c108d8c61ab5d79bd7e4d8ec66b7f7390caa4cec

@ -1 +1 @@
Subproject commit 418af37fa5ba6f3143bfcd8ea09ad50511334d44
Subproject commit c108d8c61ab5d79bd7e4d8ec66b7f7390caa4cec