dbg.c (9f2a635235823cf016eb8af0aeb3c0b2b25cea64) dbg.c (2f9060b1db4aa2c21c248e34476d8936a2b69cf6)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * MIPS-specific debug support for pre-boot environment
4 *
5 * NOTE: putc() is board specific, if your board have a 16550 compatible uart,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * MIPS-specific debug support for pre-boot environment
4 *
5 * NOTE: putc() is board specific, if your board have a 16550 compatible uart,
6 * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. othewise, you
6 * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you
7 * need to implement your own putc().
8 */
9#include <linux/compiler.h>
10#include <linux/types.h>
11
7 * need to implement your own putc().
8 */
9#include <linux/compiler.h>
10#include <linux/types.h>
11
12#include "decompress.h"
13
14void __weak putc(char c)
15{
16}
17
18void puts(const char *s)
19{
20 char c;
21 while ((c = *s++) != '\0') {

--- 18 unchanged lines hidden ---
12void __weak putc(char c)
13{
14}
15
16void puts(const char *s)
17{
18 char c;
19 while ((c = *s++) != '\0') {

--- 18 unchanged lines hidden ---