bootcount: add support to ccmp25 platform on external RTC on I2C1
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
16525cca53
commit
aad224ef28
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Digi International Inc.
|
||||
* Copyright (c) 2023-2024 Digi International Inc.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
|
@ -60,6 +60,7 @@ struct platform_functions platforms_functions[] = {
|
|||
[PLATFORM_CC93] = {read_bootcount_nvmem, write_bootcount_nvmem},
|
||||
[PLATFORM_CCMP13] = {read_bootcount_nvmem, write_bootcount_nvmem},
|
||||
[PLATFORM_CCMP15] = {read_bootcount_nvmem, write_bootcount_nvmem},
|
||||
[PLATFORM_CCMP25] = {read_bootcount_nvmem, write_bootcount_nvmem},
|
||||
[PLATFORM_UNKNOWN] = {NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Digi International Inc.
|
||||
* Copyright (c) 2023-2024 Digi International Inc.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
|
@ -41,6 +41,7 @@ struct platform_nvmem platforms_nvmem[] = {
|
|||
[PLATFORM_CC93] = {"/sys/bus/i2c/devices/2-0052/rv3028_nvram0/nvmem", 0, 1},
|
||||
[PLATFORM_CCMP13] = {"/sys/bus/i2c/devices/2-0052/rv3028_nvram0/nvmem", 0, 1},
|
||||
[PLATFORM_CCMP15] = {"/sys/bus/i2c/devices/6-0052/rv3028_nvram0/nvmem", 0, 1},
|
||||
[PLATFORM_CCMP25] = {"/sys/bus/i2c/devices/0-0052/rv3028_nvram0/nvmem", 0, 1},
|
||||
[PLATFORM_UNKNOWN] = {NULL, 0, 0},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Digi International Inc.
|
||||
* Copyright (c) 2023-2024 Digi International Inc.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
|
@ -31,6 +31,7 @@ typedef enum {
|
|||
PLATFORM_CC93,
|
||||
PLATFORM_CCMP13,
|
||||
PLATFORM_CCMP15,
|
||||
PLATFORM_CCMP25,
|
||||
PLATFORM_UNKNOWN
|
||||
} platform_t;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Digi International Inc.
|
||||
* Copyright (c) 2023-2024 Digi International Inc.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
|
@ -33,6 +33,7 @@ char* platform_names[] = {
|
|||
[PLATFORM_CC93] = "ccimx93",
|
||||
[PLATFORM_CCMP13] = "ccmp13",
|
||||
[PLATFORM_CCMP15] = "ccmp15",
|
||||
[PLATFORM_CCMP25] = "ccmp25",
|
||||
[PLATFORM_UNKNOWN] = "unknown"
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue