summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>2025-10-10 16:03:14 +0800
committerWim Van Sebroeck <wim@linux-watchdog.org>2025-11-15 15:19:52 +0100
commit0eb54296dc784de757724055983d32b03c9e2df1 (patch)
tree7fe0cd09c1cfa5f4c145fed648df4b9e578556f8 /rust/helpers/build_bug.c
parentb3bc229b54e780fe02a41ec65a0cb06acf7ac1d9 (diff)
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/build_bug.c')
0 files changed, 0 insertions, 0 deletions