diff options
author | Shelton Leung <sleung@us.ibm.com> | 2017-06-14 15:38:31 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-06-20 12:52:38 -0400 |
commit | 55ca56c287e248c5933efc87061677872010fdae (patch) | |
tree | 275583a5670890a253ffdd9d1caabd8c7cf513f2 | |
parent | 495e09338d9b656fe0e7a325959f97e13526f44c (diff) | |
download | talos-hostboot-55ca56c287e248c5933efc87061677872010fdae.tar.gz talos-hostboot-55ca56c287e248c5933efc87061677872010fdae.zip |
dd2 phy scom inits
Change-Id: Icd6375d5bf5b3a0ea2e3a81580bb964a93097598
Original-Change-Id: Icb3b25a75b71e40135237c784ac584ec54516d2e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41849
Dev-Ready: SHELTON LEUNG <sleung@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42115
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r-- | src/import/chips/p9/procedures/hwp/initfiles/p9n_ddrphy_scom.C | 1436 |
1 files changed, 853 insertions, 583 deletions
diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9n_ddrphy_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9n_ddrphy_scom.C index f4a4ea3c5..286b4cf61 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9n_ddrphy_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9n_ddrphy_scom.C @@ -43,7 +43,7 @@ constexpr uint64_t literal_0x2020 = 0x2020; constexpr uint64_t literal_0xFFFF = 0xFFFF; constexpr uint64_t literal_0x5000 = 0x5000; constexpr uint64_t literal_0x4040 = 0x4040; -constexpr uint64_t literal_0xE058 = 0xE058; +constexpr uint64_t literal_0x0008 = 0x0008; constexpr uint64_t literal_0x0202 = 0x0202; fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& TGT0, @@ -77,64 +77,82 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800000030701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000240701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000240701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000240701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000240701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000250701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000250701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000250701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000250701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000260701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000260701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000260701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000260701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000270701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000270701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000270701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000270701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000280701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000280701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000280701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000280701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000290701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000290701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000290701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000290701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x8000002a0701103full, l_scom_buffer )); @@ -159,26 +177,32 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x8000002b0701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000002c0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000002c0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000002c0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000002c0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000002d0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000002d0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x8000002d0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x8000002d0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800000740701103full, l_scom_buffer )); @@ -211,110 +235,140 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800000780701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a40701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a40701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a40701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a40701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a50701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a50701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a50701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a50701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a60701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a60701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a60701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a60701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a70701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a70701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a70701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a70701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a80701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a80701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a80701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a80701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000a90701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000a90701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000a90701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000a90701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000aa0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000aa0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000aa0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000aa0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000ab0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000ab0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000ab0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000ab0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000ac0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000ac0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800000ac0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800000ac0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800000ad0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800000ad0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800000ad0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800000ad0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800004030701103full, l_scom_buffer )); @@ -338,64 +392,82 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800004030701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004240701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004240701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004240701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004240701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004250701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004250701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004250701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004250701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004260701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004260701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004260701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004260701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004270701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004270701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004270701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004270701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004280701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004280701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004280701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004280701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004290701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004290701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004290701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004290701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x8000042a0701103full, l_scom_buffer )); @@ -420,26 +492,32 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x8000042b0701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000042c0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000042c0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000042c0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000042c0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000042d0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000042d0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000042d0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000042d0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800004740701103full, l_scom_buffer )); @@ -472,110 +550,140 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800004780701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a40701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a40701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a40701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a40701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a50701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a50701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a50701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a50701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a60701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a60701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a60701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a60701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a70701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a70701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a70701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a70701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a80701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a80701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a80701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a80701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004a90701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004a90701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004a90701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004a90701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004aa0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004aa0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004aa0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004aa0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004ab0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004ab0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800004ab0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800004ab0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004ac0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004ac0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004ac0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004ac0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800004ad0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800004ad0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800004ad0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800004ad0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800008030701103full, l_scom_buffer )); @@ -599,64 +707,82 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800008030701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008240701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008240701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008240701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008240701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008250701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008250701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008250701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008250701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008260701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008260701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008260701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008260701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008270701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008270701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008270701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008270701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008280701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008280701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008280701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008280701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008290701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008290701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008290701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008290701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x8000082a0701103full, l_scom_buffer )); @@ -681,26 +807,32 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x8000082b0701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000082c0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000082c0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000082c0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000082c0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000082d0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000082d0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000082d0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000082d0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800008740701103full, l_scom_buffer )); @@ -733,110 +865,140 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800008780701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a40701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a40701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a40701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a40701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a50701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a50701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a50701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a50701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a60701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a60701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a60701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a60701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a70701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a70701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a70701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a70701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a80701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a80701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a80701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a80701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008a90701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008a90701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008a90701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008a90701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008aa0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008aa0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008aa0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008aa0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008ab0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008ab0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008ab0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008ab0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008ac0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008ac0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800008ac0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800008ac0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800008ad0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800008ad0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800008ad0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800008ad0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x80000c030701103full, l_scom_buffer )); @@ -860,64 +1022,82 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x80000c030701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c240701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c240701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c240701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c240701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c250701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c250701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c250701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c250701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c260701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c260701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c260701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c260701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c270701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c270701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c270701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c270701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c280701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c280701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c280701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c280701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c290701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c290701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c290701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c290701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x80000c2a0701103full, l_scom_buffer )); @@ -942,26 +1122,32 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x80000c2b0701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c2c0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c2c0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c2c0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c2c0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000c2d0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000c2d0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000c2d0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000c2d0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x80000c740701103full, l_scom_buffer )); @@ -994,110 +1180,140 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x80000c780701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca40701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca40701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca40701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca40701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca50701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca50701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca50701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca50701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca60701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca60701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca60701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca60701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca70701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca70701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca70701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca70701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca80701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca80701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca80701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca80701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca90701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000ca90701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca90701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000ca90701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000caa0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000caa0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000caa0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000caa0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000cab0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000cab0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000cab0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000cab0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000cac0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000cac0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x80000cac0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x80000cac0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x80000cad0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x80000cad0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x80000cad0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x80000cad0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800010030701103full, l_scom_buffer )); @@ -1121,64 +1337,82 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800010030701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010240701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010240701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010240701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010240701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010250701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010250701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010250701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8100 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010250701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010260701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010260701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010260701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010260701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010270701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010270701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010270701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010270701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010280701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010280701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010280701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010280701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010290701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010290701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010290701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010290701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x8000102a0701103full, l_scom_buffer )); @@ -1203,26 +1437,32 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x8000102b0701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000102c0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000102c0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x8000102c0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x8000102c0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x8000102d0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); - l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x8000102d0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x8000102d0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 6, 48, uint64_t>(literal_0x0402 ); + l_scom_buffer.insert<56, 7, 56, uint64_t>(literal_0x0402 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x8000102d0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800010740701103full, l_scom_buffer )); @@ -1255,110 +1495,140 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T FAPI_TRY(fapi2::putScom(TGT0, 0x800010780701103full, l_scom_buffer)); } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a40701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a40701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a40701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a40701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a50701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); - l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a50701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a50701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 7, 48, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<56, 2, 56, uint64_t>(literal_0x8000 ); + l_scom_buffer.insert<63, 1, 63, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a50701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a60701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a60701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a60701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a60701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a70701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); - l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a70701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 5, 48, uint64_t>(literal_0x0800 ); + l_scom_buffer.insert<56, 6, 56, uint64_t>(literal_0x0800 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a70701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a70701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a80701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a80701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a80701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a80701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010a90701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010a90701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0x8000 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010a90701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010a90701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010aa0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010aa0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010aa0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010aa0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010ab0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010ab0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010ab0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 15, 48, uint64_t>(literal_0xffe0 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010ab0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010ac0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010ac0701103full, l_scom_buffer )); - FAPI_TRY(fapi2::putScom(TGT0, 0x800010ac0701103full, l_scom_buffer)); + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } + + FAPI_TRY(fapi2::putScom(TGT0, 0x800010ac0701103full, l_scom_buffer)); + } } { - FAPI_TRY(fapi2::getScom( TGT0, 0x800010ad0701103full, l_scom_buffer )); - - if (( true )) + if (((l_chip_id == 0x5) && (l_chip_ec == 0x10)) ) { - l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); - } + FAPI_TRY(fapi2::getScom( TGT0, 0x800010ad0701103full, l_scom_buffer )); + + if (( true )) + { + l_scom_buffer.insert<48, 11, 48, uint64_t>(literal_0x2020 ); + } - FAPI_TRY(fapi2::putScom(TGT0, 0x800010ad0701103full, l_scom_buffer)); + FAPI_TRY(fapi2::putScom(TGT0, 0x800010ad0701103full, l_scom_buffer)); + } } { FAPI_TRY(fapi2::getScom( TGT0, 0x800040000701103full, l_scom_buffer )); @@ -1435,7 +1705,7 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T if (( true )) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xE058 ); + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x0008 ); } FAPI_TRY(fapi2::putScom(TGT0, 0x800080310701103full, l_scom_buffer)); @@ -1466,7 +1736,7 @@ fapi2::ReturnCode p9n_ddrphy_scom(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& T if (( true )) { - l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0xE058 ); + l_scom_buffer.insert<48, 16, 48, uint64_t>(literal_0x0008 ); } FAPI_TRY(fapi2::putScom(TGT0, 0x800084310701103full, l_scom_buffer)); |