From 33619ab64496e743af80c0c58f12ed1fa4e2648d Mon Sep 17 00:00:00 2001 From: QiaoChong Date: Mon, 19 Nov 2018 18:06:46 +0800 Subject: [PATCH] Revert "ls3c leveling add LEVELING_CHECK_ALL_BITS option." This reverts commit 64d0e096261e602a33a2b13f36dd67e6db9a3abb. --- Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h b/Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h index 0c570ab2..30520061 100644 --- a/Targets/Bonito3a3000_7a/Bonito/ddr_leveling_define.h +++ b/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;