mb/google/hatch: Move memory strap GPIOs under variant gpio header
Move the memory strap gpios to variant/gpio.h, as the memory straps are different for helios. Change-Id: I1833c9539687011ee27fd3e88c0581e30ca59354 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
a533a8d3f5
commit
d3c5544bec
|
@ -21,12 +21,7 @@
|
|||
#include <soc/cnl_memcfg_init.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_F20
|
||||
#define GPIO_MEM_CONFIG_1 GPP_F21
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F11
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F22
|
||||
#include <variant/gpio.h>
|
||||
|
||||
/*
|
||||
* GPIO_MEM_CH_SEL is set to 1 for single channel skus
|
||||
|
|
|
@ -18,4 +18,10 @@
|
|||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_F20
|
||||
#define GPIO_MEM_CONFIG_1 GPP_F21
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F11
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F22
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,4 +18,10 @@
|
|||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_F20
|
||||
#define GPIO_MEM_CONFIG_1 GPP_F21
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F11
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F22
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,4 +18,10 @@
|
|||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_H19
|
||||
#define GPIO_MEM_CONFIG_1 GPP_H22
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F10
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F3
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,4 +18,10 @@
|
|||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_F20
|
||||
#define GPIO_MEM_CONFIG_1 GPP_F21
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F11
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F22
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,4 +18,10 @@
|
|||
|
||||
#include <baseboard/gpio.h>
|
||||
|
||||
/* Memory configuration board straps */
|
||||
#define GPIO_MEM_CONFIG_0 GPP_F20
|
||||
#define GPIO_MEM_CONFIG_1 GPP_F21
|
||||
#define GPIO_MEM_CONFIG_2 GPP_F11
|
||||
#define GPIO_MEM_CONFIG_3 GPP_F22
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue