infra: adapt to prepatch v3a

This commit is contained in:
Thomas Schoebel-Theuer 2024-02-07 10:24:53 +01:00
parent 8094a5f2c7
commit 5966c93f3b
1 changed files with 5 additions and 1 deletions

View File

@ -473,7 +473,11 @@ extern const struct generic_brick_type *_bio_brick_type;
extern const struct generic_brick_type *_aio_brick_type;
extern const struct generic_brick_type *_sio_brick_type;
#if !defined(CONFIG_MARS_PREFER_SIO) && (defined(MARS_HAS_PREPATCH) || defined(MARS_HAS_PREPATCH_V2))
#if !defined(CONFIG_MARS_PREFER_SIO) && \
(defined(MARS_HAS_PREPATCH) || \
defined(MARS_HAS_PREPATCH_V2) || \
defined(MARS_HAS_PREPATCH_V3a) || \
1)
#define ENABLE_MARS_AIO
#endif