Can you fix & resend the patch? Kees Cook <keescook@xxxxxxxxxxxx> wrote: >On Fri, Jul 12, 2013 at 1:07 PM, Kees Cook <keescook@xxxxxxxxxxxx> >wrote: > >> Allows "console=uart[8250],mmio[32],0xADDR[,BAUDn8[,BASE_BAUD]]" to >> be recognized during compressed boot early console setup, and during >> boot console setup. Replaces defines with common serial defines. Adds >> suport for mmio-based serial devices to compressed-boot early >console, >> and plumbs support for defining the base baud rate for UART clock >> calculations (since mmio serial cards may not have the standard rate, >> resulting in incorrect baud rates for mmio devices). >> >> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> >> --- >> diff --git a/include/uapi/linux/serial_reg.h >> b/include/uapi/linux/serial_reg.h >> index e632260..bdeaf5a 100644 >> --- a/include/uapi/linux/serial_reg.h >> +++ b/include/uapi/linux/serial_reg.h >> @@ -333,12 +333,13 @@ >> >> #define UART_RSA_TCR_SWITCH (1 << 0) /* Timer on */ >> >> +#define SERIAL_BAUD_BASE (1843200/16) >> /* >> * The RSA DSV/II board has two fixed clock frequencies. One is the >> * standard rate, and the other is 8 times faster. >> */ >> -#define SERIAL_RSA_BAUD_BASE (921600) >> -#define SERIAL_RSA_BAUD_BASE_LO (SERIAL_RSA_BAUD_BASE / 8) >> +#define SERIAL_RSA_BAUD_BASE_LO SERIAL_BAUD_BASE >> +#define SERIAL_RSA_BAUD_BASE (SERIAL_RSA_BAUD_BASE * 8) >> > >Argh, just found this typo during an allyesconfig build. Above should >be: > >#define SERIAL_RSA_BAUD_BASE (SERIAL_BAUD_BASE * 8) > >-Kees -- Sent from my mobile phone. Please excuse brevity and lack of formatting. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html