Re: [PATCH] ARM: PL011: add support for extended FIFO-size ofPL011-r1p5
From: Russell King - ARM Linux
Date: Fri Apr 19 2013 - 09:00:01 EST
On Fri, Apr 12, 2013 at 06:18:47PM +0900, Jongsung Kim wrote:
> +static unsigned int get_fifosize_arm(unsigned int periphid)
> +{
> + unsigned int rev = (periphid >> 20) & 0xf;
> + return rev < 3 ? 16 : 32;
Don't we have a macro to get the revision given the amba device?
amba_rev().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/