[PATCH v3 78/81] fixdep: Drop support for CONFIG_IS_ENABLED and CONFIG_VAL

Simon Glass sjg at chromium.org
Mon Feb 6 20:05:46 CET 2023


Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 scripts/basic/fixdep.c | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 1cb76dc8b19..08556ef663f 100644
--- a/scripts/basic/fixdep.c
+++ b/scripts/basic/fixdep.c
@@ -257,25 +257,6 @@ static const char *parse_config_line(const char *p, const char **endp)
 		r = q - 7;
 	else
 		r = q;
-	/*
-	 * U-Boot also handles
-	 *   CONFIG_IS_ENABLED(...)
-	 *   CONFIG_VAL(...)
-	 */
-	if ((q - p == 10 && !memcmp(p, "IS_ENABLED(", 11)) ||
-	    (q - p == 3 && !memcmp(p, "VAL(", 4))) {
-		p = q + 1;
-		q = p;
-		while (isalnum(*q) || *q == '_')
-			q++;
-		r = q;
-		if (r > p && tmp_buf[0]) {
-			memcpy(tmp_buf + 4, p, r - p);
-			r = tmp_buf + 4 + (r - p);
-			p = tmp_buf;
-		}
-	}
-	/* end U-Boot hack */
 	*endp = r;
 
 	if (r > p)
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list