mb/google/rex: Create variant to support ISH enablement
This patch creates a new variant to support the ISH enablement using Rex platform.The idea here is to leverage the `rex0` code as much as possible and add specific support for ISH enablement as per the hardware schematic differences. BUG=b:284254353 TEST=Able to build google/rex_ish_ec board and boot on target hardware. Change-Id: I625fd0b31aed998f4e8f2d139827bc212ee8a90b Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75470 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: YH Lin <yueherngl@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
		@@ -82,12 +82,12 @@ config MAINBOARD_FAMILY
 | 
				
			|||||||
	default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX
 | 
						default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config MAINBOARD_PART_NUMBER
 | 
					config MAINBOARD_PART_NUMBER
 | 
				
			||||||
	default "Rex" if BOARD_GOOGLE_REX0
 | 
						default "Rex" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH
 | 
				
			||||||
	default "Screebo" if BOARD_GOOGLE_SCREEBO
 | 
						default "Screebo" if BOARD_GOOGLE_SCREEBO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config VARIANT_DIR
 | 
					config VARIANT_DIR
 | 
				
			||||||
	string
 | 
						string
 | 
				
			||||||
	default "rex0" if BOARD_GOOGLE_REX0
 | 
						default "rex0" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH
 | 
				
			||||||
	default "screebo" if BOARD_GOOGLE_SCREEBO
 | 
						default "screebo" if BOARD_GOOGLE_SCREEBO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config DIMM_SPD_SIZE
 | 
					config DIMM_SPD_SIZE
 | 
				
			||||||
@@ -111,7 +111,7 @@ config OVERRIDE_DEVICETREE
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
config DRIVER_TPM_I2C_BUS
 | 
					config DRIVER_TPM_I2C_BUS
 | 
				
			||||||
	hex
 | 
						hex
 | 
				
			||||||
	default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO
 | 
						default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO || BOARD_GOOGLE_REX_EC_ISH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config DRIVER_TPM_I2C_ADDR
 | 
					config DRIVER_TPM_I2C_ADDR
 | 
				
			||||||
	hex
 | 
						hex
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,3 +8,9 @@ config BOARD_GOOGLE_REX0
 | 
				
			|||||||
config BOARD_GOOGLE_SCREEBO
 | 
					config BOARD_GOOGLE_SCREEBO
 | 
				
			||||||
	bool "->  Screebo"
 | 
						bool "->  Screebo"
 | 
				
			||||||
	select BOARD_GOOGLE_BASEBOARD_REX
 | 
						select BOARD_GOOGLE_BASEBOARD_REX
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config BOARD_GOOGLE_REX_EC_ISH
 | 
				
			||||||
 | 
						bool "-> Rex EC ISH"
 | 
				
			||||||
 | 
						select BOARD_GOOGLE_BASEBOARD_REX
 | 
				
			||||||
 | 
						select DRIVERS_GENESYSLOGIC_GL9755
 | 
				
			||||||
 | 
						select DRIVERS_INTEL_ISH
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user