diff options
author | Chanh Nguyen <chanh@os.amperecomputing.com> | 2021-10-10 08:11:16 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-10-15 14:53:08 +0300 |
commit | 6610b2e387113ae131eb837680fe2478b863f8b2 (patch) | |
tree | 667b441172fac36ef15b24ec7b6e5507d7e498b5 /meta-phosphor/conf/distro | |
parent | 30cd3820346db6723471e9646bf4808cb979ec41 (diff) | |
download | openbmc-6610b2e387113ae131eb837680fe2478b863f8b2.tar.xz |
u-boot-aspeed: Add distro feature to enable SPI master mode
The ast2500 shares the RGMII1 pin and the hw strap pins
for SPI interface mode selection ( pin[12:13] ).
In some systems, the RGMII/NCSI interface will use the pin.
It makes the SPI interface mode setting is not correct.
This patch adds a distro feature to enable the SPI master
mode by default.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: I93e5dd5e86870601169974aa1aab4b5480a45ef1
Diffstat (limited to 'meta-phosphor/conf/distro')
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-aspeed-spi-master-mode.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-aspeed-spi-master-mode.inc b/meta-phosphor/conf/distro/include/phosphor-aspeed-spi-master-mode.inc new file mode 100644 index 000000000..9c1b48945 --- /dev/null +++ b/meta-phosphor/conf/distro/include/phosphor-aspeed-spi-master-mode.inc @@ -0,0 +1,2 @@ +DISTRO_FEATURES += "obmc-aspeed-spi-master" +DISTROOVERRIDES .= ":df-aspeed-spi-master" |