mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
d9b55a0361
This adds support for early serial debugging via the built in port on IBM/AMCC PowerPC 44x CPUs. It uses a bolted TLB entry in address space 1 for the UART's mapping, allowing robust debugging both before and after the initialization of the MMU. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
9 lines
274 B
C
9 lines
274 B
C
#ifndef __POWERPC_PLATFORMS_44X_44X_H
|
|
#define __POWERPC_PLATFORMS_44X_44X_H
|
|
|
|
extern u8 as1_readb(volatile u8 __iomem *addr);
|
|
extern void as1_writeb(u8 data, volatile u8 __iomem *addr);
|
|
extern void ppc44x_reset_system(char *cmd);
|
|
|
|
#endif /* __POWERPC_PLATFORMS_44X_44X_H */
|