[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3911455.CfbmuRjhZB@wuerfel>
Date: Wed, 04 Feb 2015 17:32:51 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
Cc: linux-mips@...ux-mips.org, devicetree@...r.kernel.org,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, mturquette@...aro.org,
sboyd@...eaurora.org, ralf@...ux-mips.org, jslaby@...e.cz,
tglx@...utronix.de, jason@...edaemon.net, lars@...afoo.de,
paul.burton@...tec.com
Subject: Re: [PATCH_V2 27/34] MIPS: jz4740: use jz47xx-uart & DT for UART output
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists