Browse Source

update 3a9780e DDR_LOOPC caculate by ddr freq.

Change-Id: Id48b36b227a0e2cab2b7f1c0b2ebe1b5373a987d
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 5 years ago
committed by Chong Qiao
parent
commit
a6c4406420
  1. 2
      Targets/Bonito3a9780e/Bonito/start.S

2
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

Loading…
Cancel
Save