[PATCH 3/3] ARM: Add CLPS711X architecture
Alexander Shiyan
shc_work at mail.ru
Sun Oct 7 06:57:01 EDT 2012
On Sun, 7 Oct 2012 12:45:50 +0200
Sascha Hauer <s.hauer at pengutronix.de> wrote:
...
> And in the driver:
>
> #define SYSCON 0x100
>
> ...
> writel(0xdeadbeef, base + SYSCON);
> ...
You a right, but SYSCON is used not only for UARTs. This register also
used for setup timers, keypad, lcd, spi etc... Just look on bit definitions.
Same I can say about other resisters.
In this case we have some redundancy definitions. I will think about other way.
--
Alexander Shiyan <shc_work at mail.ru>
More information about the barebox
mailing list