Skip to content

Commit

Permalink
trivial: fixing style
Browse files Browse the repository at this point in the history
Signed-off-by: Jingyao Zhou <[email protected]>
  • Loading branch information
abrandnewusername authored and kent-mcleod committed Jul 19, 2022
1 parent 2982409 commit 76873a3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions libplatsupport/plat_include/pc99/platsupport/plat/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,20 @@ enum chardev_id {


#if defined(CONFIG_LIB_PLAT_SUPPORT_SERIAL_PORT_X86_COM1)
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM1_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM1_IRQ
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM1_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM1_IRQ
#elif defined(CONFIG_LIB_PLAT_SUPPORT_SERIAL_PORT_X86_COM2)
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM2_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM2_IRQ
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM2_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM2_IRQ
#elif defined(CONFIG_LIB_PLAT_SUPPORT_SERIAL_PORT_X86_COM3)
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM3_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM3_IRQ
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM3_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM3_IRQ
#elif defined(CONFIG_LIB_PLAT_SUPPORT_SERIAL_PORT_X86_COM4)
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM4_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM4_IRQ
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM4_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM4_IRQ
#elif defined(CONFIG_LIB_PLAT_SUPPORT_SERIAL_TEXT_EGA)
/* Don't define a port for the EGA alphanumeric mode device */
/* Don't define a port for the EGA alphanumeric mode device */
#else
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM1_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM1_IRQ
#define DEFAULT_SERIAL_IOPORT SERIAL_CONSOLE_COM1_PORT
#define DEFAULT_SERIAL_INTERRUPT SERIAL_CONSOLE_COM1_IRQ
#endif

0 comments on commit 76873a3

Please sign in to comment.