Skip to content

Commit

Permalink
[device_life_cycle] remove invalid LC states
Browse files Browse the repository at this point in the history
This updates the DeviceLifeCycle enum to remove LC states that are not
relevant to OpenTitan devices. The "Invalid" LC state is also removed as
it does not represent a valid LC state a device may be provisioned into.

Signed-off-by: Tim Trippel <[email protected]>
  • Loading branch information
timothytrippel committed Sep 12, 2024
1 parent b3ca4d3 commit 41cbe52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/ate/ate_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ enum DeviceLifeCycle : uint32_t {
DEVICE_LIFE_CYCLE_PROD_END = 6,
DEVICE_LIFE_CYCLE_RMA = 7,
DEVICE_LIFE_CYCLE_SCRAP = 8,
DEVICE_LIFE_CYCLE_INVALID = 9,
DEVICE_LIFE_CYCLE_EOL = 10,
};

enum ProvState : uint32_t {
Expand Down
4 changes: 0 additions & 4 deletions src/proto/device_id.proto
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ enum DeviceLifeCycle {
DEVICE_LIFE_CYCLE_RMA = 7;
// SCRAP
DEVICE_LIFE_CYCLE_SCRAP = 8;
// INVALID
DEVICE_LIFE_CYCLE_INVALID = 9;
// EOL
DEVICE_LIFE_CYCLE_EOL = 10;
}

// OpenTitan Device Provisioning Data.
Expand Down

0 comments on commit 41cbe52

Please sign in to comment.