mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 18:05:19 +07:00
1197ab2942
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits) powerpc/p3060qds: Add support for P3060QDS board powerpc/83xx: Add shutdown request support to MCU handling on MPC8349 MITX powerpc/85xx: Make kexec to interate over online cpus powerpc/fsl_booke: Fix comment in head_fsl_booke.S powerpc/85xx: issue 15 EOI after core reset for FSL CoreNet devices powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO driver powerpc/85xx: Add 'fsl,pq3-gpio' compatiable for GPIO driver powerpc/86xx: Correct Gianfar support for GE boards powerpc/cpm: Clear muram before it is in use. drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager powerpc/fsl_msi: add support for "msi-address-64" property powerpc/85xx: Setup secondary cores PIR with hard SMP id powerpc/fsl-booke: Fix settlbcam for 64-bit powerpc/85xx: Adding DCSR node to dtsi device trees powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards powerpc/85xx: fix PHYS_64BIT selection for P1022DS powerpc/fsl-booke: Fix setup_initial_memory_limit to not blindly map powerpc: respect mem= setting for early memory limit setup powerpc: Update corenet64_smp_defconfig powerpc: Update mpc85xx/corenet 32-bit defconfigs ... Fix up trivial conflicts in: - arch/powerpc/configs/40x/hcu4_defconfig removed stale file, edited elsewhere - arch/powerpc/include/asm/udbg.h, arch/powerpc/kernel/udbg.c: added opal and gelic drivers vs added ePAPR driver - drivers/tty/serial/8250.c moved UPIO_TSI to powerpc vs removed UPIO_DWAPB support
64 lines
2.2 KiB
C
64 lines
2.2 KiB
C
/*
|
|
* (c) 2001, 2006 IBM Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef _ASM_POWERPC_UDBG_H
|
|
#define _ASM_POWERPC_UDBG_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/init.h>
|
|
|
|
extern void (*udbg_putc)(char c);
|
|
extern void (*udbg_flush)(void);
|
|
extern int (*udbg_getc)(void);
|
|
extern int (*udbg_getc_poll)(void);
|
|
|
|
extern void udbg_puts(const char *s);
|
|
extern int udbg_write(const char *s, int n);
|
|
extern int udbg_read(char *buf, int buflen);
|
|
|
|
extern void register_early_udbg_console(void);
|
|
extern void udbg_printf(const char *fmt, ...)
|
|
__attribute__ ((format (printf, 1, 2)));
|
|
extern void udbg_progress(char *s, unsigned short hex);
|
|
|
|
extern void udbg_init_uart(void __iomem *comport, unsigned int speed,
|
|
unsigned int clock);
|
|
extern unsigned int udbg_probe_uart_speed(void __iomem *comport,
|
|
unsigned int clock);
|
|
|
|
struct device_node;
|
|
extern void udbg_scc_init(int force_scc);
|
|
extern int udbg_adb_init(int force_btext);
|
|
extern void udbg_adb_init_early(void);
|
|
|
|
extern void __init udbg_early_init(void);
|
|
extern void __init udbg_init_debug_lpar(void);
|
|
extern void __init udbg_init_debug_lpar_hvsi(void);
|
|
extern void __init udbg_init_pmac_realmode(void);
|
|
extern void __init udbg_init_maple_realmode(void);
|
|
extern void __init udbg_init_pas_realmode(void);
|
|
extern void __init udbg_init_iseries(void);
|
|
extern void __init udbg_init_rtas_panel(void);
|
|
extern void __init udbg_init_rtas_console(void);
|
|
extern void __init udbg_init_debug_beat(void);
|
|
extern void __init udbg_init_btext(void);
|
|
extern void __init udbg_init_44x_as1(void);
|
|
extern void __init udbg_init_40x_realmode(void);
|
|
extern void __init udbg_init_cpm(void);
|
|
extern void __init udbg_init_usbgecko(void);
|
|
extern void __init udbg_init_wsp(void);
|
|
extern void __init udbg_init_ehv_bc(void);
|
|
extern void __init udbg_init_ps3gelic(void);
|
|
extern void __init udbg_init_debug_opal_raw(void);
|
|
extern void __init udbg_init_debug_opal_hvsi(void);
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_UDBG_H */
|