Compile the `uart_dev` pointer only when necessary (when `zephyr,log-uart` is used), this saves 4 bytes in 32-bit systems and 8 bytes in 64-bit systems. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adsp | ||
| Kconfig.adsp_hda | ||
| Kconfig.adsp_mtrace | ||
| Kconfig.ble | ||
| Kconfig.efi_console | ||
| Kconfig.fs | ||
| Kconfig.multidomain | ||
| Kconfig.native_posix | ||
| Kconfig.net | ||
| Kconfig.rtt | ||
| Kconfig.spinel | ||
| Kconfig.swo | ||
| Kconfig.uart | ||
| Kconfig.xtensa_sim | ||
| log_backend_adsp_hda.c | ||
| log_backend_adsp_mtrace.c | ||
| log_backend_adsp.c | ||
| log_backend_ble.c | ||
| log_backend_efi_console.c | ||
| log_backend_fs.c | ||
| log_backend_ipc_service.c | ||
| log_backend_native_posix.c | ||
| log_backend_net.c | ||
| log_backend_rtt.c | ||
| log_backend_spinel.c | ||
| log_backend_swo.c | ||
| log_backend_uart.c | ||
| log_backend_xtensa_sim.c | ||
| log_multidomain_backend.c | ||