diff options
author | Chris Engel <cjengel@us.ibm.com> | 2016-07-29 09:52:47 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2016-08-01 16:07:03 -0400 |
commit | b1349af05858667fcf573f14388acabcbcd6be67 (patch) | |
tree | 77a336429fdf478fecfa23d543e010320a6b4d79 /src/usr/devtree/bld_devtree.C | |
parent | 9cd81853e74344027127a8678e0be4618aa4746b (diff) | |
download | blackbird-hostboot-b1349af05858667fcf573f14388acabcbcd6be67.tar.gz blackbird-hostboot-b1349af05858667fcf573f14388acabcbcd6be67.zip |
Update TPM device tree entry to indicate additional Nuvoton compatibility
Change-Id: I276d2d38c688ade3b48de606640c8ebd021a4a97
ForwardPort: yes
RTC: 153386
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27636
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Timothy R. Block <block@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27713
Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Diffstat (limited to 'src/usr/devtree/bld_devtree.C')
-rw-r--r-- | src/usr/devtree/bld_devtree.C | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/devtree/bld_devtree.C b/src/usr/devtree/bld_devtree.C index 5911bbaa0..bdadb35eb 100644 --- a/src/usr/devtree/bld_devtree.C +++ b/src/usr/devtree/bld_devtree.C @@ -545,7 +545,8 @@ void add_i2c_info( const TARGETING::Target* i_targ, tpm@50 { reg = <0x50>; << right-justified 7-bit addr label = "tpm"; << arbitrary name - compatible = "nuvoton,npct650"; << from i2c driver + compatible = "nuvoton,npct650", "nuvoton,npct601"; + << from i2c driver status = "ok"; << Opal fills in phandle = <0x10000065>; << auto-filled linux,phandle = <0x10000065>; << Opal fills in @@ -575,8 +576,9 @@ void add_i2c_info( const TARGETING::Target* i_targ, i_dt->addPropertyString(l_tpmNode, "label", l_label); // fill in nuvoton compatible - const char* l_compat = "nuvoton,npct650"; - i_dt->addPropertyString(l_tpmNode, "compatible", l_compat); + const char* l_compat[] = {"nuvoton,npct650", + "nuvoton,npct601", NULL}; + i_dt->addPropertyStrings(l_tpmNode, "compatible", l_compat); // Placeholders for the tpm log which will be filled in later // We store info away so we can look up this devtree node later |