diff options
| author | Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> | 2025-10-10 11:03:14 +0300 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2025-11-15 17:19:52 +0300 |
| commit | 0eb54296dc784de757724055983d32b03c9e2df1 (patch) | |
| tree | 7fe0cd09c1cfa5f4c145fed648df4b9e578556f8 /rust/helpers/platform.c | |
| parent | b3bc229b54e780fe02a41ec65a0cb06acf7ac1d9 (diff) | |
| download | linux-0eb54296dc784de757724055983d32b03c9e2df1.tar.xz | |
watchdog: aspeed: Support variable number of reset mask registers
Starting from the AST2600 platform, the SoC design has become more
complex, with an increased number of reset mask registers.
To support this, introduce a new field 'num_reset_masks' in the
'aspeed_wdt_config' structure to specify the number of reset mask
registers per platform. This change removes the need for hardcoded
platform-specific logic and improves scalability for future SoCs.
Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
