disable log uart

This commit is contained in:
Yunlong Xiao 2022-07-10 17:36:32 +08:00
parent 1d774ee025
commit d89bc82641
2 changed files with 5 additions and 5 deletions

View File

@ -161,7 +161,7 @@ ifneq (${DEBUG}, 0)
CFLAGS += -g -gdwarf-2 -O0 CFLAGS += -g -gdwarf-2 -O0
ASFLAGS += -g -Wa,--gdwarf-2 ASFLAGS += -g -Wa,--gdwarf-2
# Use LOG_LEVEL_INFO by default for debug builds # Use LOG_LEVEL_INFO by default for debug builds
LOG_LEVEL := 40 LOG_LEVEL := 0
else else
BUILD_TYPE := release BUILD_TYPE := release
$(eval $(call add_define,NDEBUG)) $(eval $(call add_define,NDEBUG))
@ -219,8 +219,8 @@ LDFLAGS += --fatal-warnings -O1
LDFLAGS += --gc-sections LDFLAGS += --gc-sections
#ifneq (${SECURE_OS},teeid) #ifneq (${SECURE_OS},teeid)
ASFLAGS += -Werror #ASFLAGS += -Werror
CFLAGS += -Werror -Wno-error=pedantic CFLAGS += -Wno-error=pedantic
#endif #endif
################################################################################ ################################################################################

View File

@ -38,7 +38,7 @@
/* chosen */ /* chosen */
chosen { chosen {
bootargs = "console=tty0 console=ttyS0,921600n1 earlycon=uart8250,mmio32,0x11005000 ubi.mtd=8 root=ubi0:aud8516p1v2-consys-slc-128-rootfs rootfstype=ubifs vmalloc=496M androidboot.hardware=aud8516p1_linux"; bootargs = "console=tty0 console=ttyS0,921600n1 ubi.mtd=8 root=ubi0:aud8516p1v2-consys-slc-128-rootfs rootfstype=ubifs vmalloc=496M androidboot.hardware=aud8516p1_linux";
}; };
version { version {
ver= "101001"; ver= "101001";
@ -991,7 +991,7 @@
&uart0 { &uart0 {
// pinctrl-names = "default"; // pinctrl-names = "default";
// pinctrl-0 = <&uart0_pin>; // pinctrl-0 = <&uart0_pin>;
status="okay"; status="disabled";
}; };