diff options
author | Potin Lai <potin.lai@quantatw.com> | 2022-10-12 04:01:19 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-10-24 20:42:50 +0300 |
commit | 2d6cab4481757731b2a19bb766993802edf51604 (patch) | |
tree | 7380e0df30e0d5f3599d77300bc8bec2005d2702 /meta-facebook/meta-bletchley/recipes-phosphor | |
parent | 83c294d2663b85741e21a8ad2f29d9a825245238 (diff) | |
download | openbmc-2d6cab4481757731b2a19bb766993802edf51604.tar.xz |
meta-facebook: update bletchley nvme config
1. Move nvme_config.json to meta-facebook layer
2. Update nvme thermal sensor thresholds base as suggested by thermal
team.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia444afa2a27032c88302e913eb07909f7123c608
Diffstat (limited to 'meta-facebook/meta-bletchley/recipes-phosphor')
-rw-r--r-- | meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json | 36 | ||||
-rw-r--r-- | meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme_%.bbappend | 8 |
2 files changed, 0 insertions, 44 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json b/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json deleted file mode 100644 index 6bd71e972e..0000000000 --- a/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme/nvme_config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "config": [ - { - "NVMeDriveIndex": 1, - "NVMeDriveBusID": 0 - }, - { - "NVMeDriveIndex": 2, - "NVMeDriveBusID": 1 - }, - { - "NVMeDriveIndex": 3, - "NVMeDriveBusID": 2 - }, - { - "NVMeDriveIndex": 4, - "NVMeDriveBusID": 3 - }, - { - "NVMeDriveIndex": 5, - "NVMeDriveBusID": 4 - }, - { - "NVMeDriveIndex": 6, - "NVMeDriveBusID": 5 - } - ], - "threshold": [ - { - "criticalHigh": 67, - "criticalLow": 0, - "maxValue": 127, - "minValue": -127 - } - ] -} diff --git a/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme_%.bbappend b/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme_%.bbappend deleted file mode 100644 index 919cef1138..0000000000 --- a/meta-facebook/meta-bletchley/recipes-phosphor/sensors/phosphor-nvme_%.bbappend +++ /dev/null @@ -1,8 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://nvme_config.json" - -do_install:append() { - install -d ${D}/${sysconfdir}/nvme/ - install -m 0644 ${WORKDIR}/nvme_config.json ${D}/${sysconfdir}/nvme/ -} |