diff --git a/Targets/Bonito3a9780e/Bonito/start.S b/Targets/Bonito3a9780e/Bonito/start.S index 97a0c17f..cfd921e4 100644 --- a/Targets/Bonito3a9780e/Bonito/start.S +++ b/Targets/Bonito3a9780e/Bonito/start.S @@ -445,6 +445,8 @@ gs_2f_v3_ddr2_cfg: #else #ifndef DDR_FREQ #define DDR_FREQ (DDR_LOOPC*33/DDR_DIV/DDR_REFC) +#else +#define DDR_LOOPC (DDR_FREQ*DDR_REFC*DDR_DIV/33) #endif #endif