Browse Source

Revert "ls3c leveling add LEVELING_CHECK_ALL_BITS option."

This reverts commit 64d0e096261e602a33a2b13f36dd67e6db9a3abb.
master
QiaoChong 6 years ago
committed by Chong Qiao
parent
commit
33619ab644
  1. 8
      Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h

8
Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h

@ -9,19 +9,13 @@
dsubu a1, t2, t8; \
dsubu a1, a1, 0x180;
#ifndef LEVELING_CHECK_ALL_BITS
#define WLVL_CHECK_MASK 1
#else
#define WLVL_CHECK_MASK 0xff
#endif
#define GET_WLVL_RESP_a0 \
dsll a1, a1, 2; \
dli a2, WLVL_RESP_MAP; \
dsrl a2, a2, a1; \
and a2, a2, 0x7; \
dsrl a0, a0, a2; \
and a0, a0, WLVL_CHECK_MASK;
and a0, a0, 0x1;
#define GET_GLVL_RESP_a0 \
and a0, a0, 0x1;

Loading…
Cancel
Save