diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index a3a6343b8c7..df01dab4f15 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -18,7 +18,7 @@ #include -#ifdef CONFIG_ARM64 +#if defined(CONFIG_ARM64) || defined(CONFIG_RISCV) #define CONFIG_SYS_BOOTM_LEN (32 << 20) #endif