Re: [PATCH_V2 27/34] MIPS: jz4740: use jz47xx-uart & DT for UART output
From: Arnd Bergmann <hidden>
Date: 2015-02-04 16:33:04
Also in:
linux-mips, linux-serial, lkml
From: Arnd Bergmann <hidden>
Date: 2015-02-04 16:33:04
Also in:
linux-mips, linux-serial, lkml
On Wednesday 04 February 2015 15:21:56 Zubair Lutfullah Kakakhel wrote:
+#ifndef __JZ4740_SERIAL_H__ +#define __JZ4740_SERIAL_H__ + +#define BASE_BAUD (12000000 / 16) + +#endif /* __JZ4740_SERIAL_H__ */
This looks wrong: You should not need to hardcode this number when you can get it from DT. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html