History log of /openbmc/openpower-pnor-code-mgmt/test/test_item_updater_static.cpp (Results 1 – 3 of 3)
Revision Date Author Comments
# 7fb6c346 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I4530f5b9df4f5898e26a2eef7efcf82e9728197f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# fa9a6bec 18-Dec-2019 Alexander Filippov <a.filippov@yadro.com>

Fix ECC usage of being cleaned partitions

Reset procedure of PNOR works improperly for our P8 based VESNIN
hardware and makes the host unbootable.

The problem is in incorrect pa

Fix ECC usage of being cleaned partitions

Reset procedure of PNOR works improperly for our P8 based VESNIN
hardware and makes the host unbootable.

The problem is in incorrect partition cleaning.

Hostboot for P8 has no support for CLEARECC bit and PNOR flash has no
partitions with flag 'C'.

P9 based hardware is not affected until PNOR has partitions with ECC
flag only.

This commit modifies the reset procedure to make it use the flag 'E'
(ECC) instead of 'C' (CLEARECC).

* The flag 'E' means that the partition requires ECC.
* The flag 'C' means that the partition might be cleaned by hostboot
when ECC is wrong.

For details see:
https://github.com/open-power/hostboot/blob/75c0908b91275dc10bd17cb0f10b452f32ce0b91/src/include/usr/pnor/pnor_const.H#L128

Tested: All PNOR partitions with enabled flags 'E' and 'F' should be
cleaned with ECC.

Change-Id: I632e90c8e256df3445fc3d1f45c830d155a1d208
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>

show more ...


# 07830764 01-Mar-2019 Lei YU <mine260309@gmail.com>

test: Add test for getPartsToClear

Add the test for getPartsToClear(), and fix issues found by the unit
test case with malformed input.

Tested: Verify test builds and passes.

test: Add test for getPartsToClear

Add the test for getPartsToClear(), and fix issues found by the unit
test case with malformed input.

Tested: Verify test builds and passes.

Change-Id: I67c8bbd184e7e0c0f7f0f0fca678d1952a07cd66
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...