]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
log: Remove some places where we redefine LOGLEVEL
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:33 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:07:03 +0000 (10:07 -0500)
We cannot redefine a CONFIG value per file in this manner.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/raw/octeontx_bch.c
drivers/mtd/nand/raw/octeontx_nand.c
test/log/pr_cont_test.c

index c1d721cabfc6a228734a5637be9a6bc2367d5723..fc16b77416bbcaee849e579223a9f82a7120d7d0 100644 (file)
 #include <asm/arch/clock.h>
 #include "octeontx_bch.h"
 
-#ifdef DEBUG
-# undef CONFIG_LOGLEVEL
-# define CONFIG_LOGLEVEL 8
-#endif
-
 LIST_HEAD(octeontx_bch_devices);
 static unsigned int num_vfs = BCH_NR_VF;
 static void *bch_pf;
index b338b204f3439928fa50740c0fc16e8f632c6707..1ffadad9cae76e3c714828a32a21b9781ac466dc 100644 (file)
 #include <asm/arch/clock.h>
 #include "octeontx_bch.h"
 
-#ifdef DEBUG
-# undef CONFIG_LOGLEVEL
-# define CONFIG_LOGLEVEL 8
-#endif
-
 /*
  * The NDF_CMD queue takes commands between 16 - 128 bit.
  * All commands must be 16 bit aligned and are little endian.
index 6abddf7a11959213486ef3a15bbdfa61dacc1e4b..df4520d28075c746dedf34052aa45e07b7912e39 100644 (file)
@@ -16,9 +16,6 @@
 
 #define BUFFSIZE 64
 
-#undef CONFIG_LOGLEVEL
-#define CONFIG_LOGLEVEL 4
-
 DECLARE_GLOBAL_DATA_PTR;
 
 static int log_test_pr_cont(struct unit_test_state *uts)