Davinci: eliminate pinmux offset verbosity
Pinmux registers are sequential, and do not need to be enumerated out as they currently are. This reduces code volume and keeps things simple. If some future SoC comes up with a discontiguous register map, PINMUX() can then be expanded with local token pasting. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:

کامیت شده توسط
Kevin Hilman

والد
b27b6d03f2
کامیت
5b3a05ca91
@@ -350,9 +350,6 @@ static struct platform_device dm644x_emac_device = {
|
||||
.resource = dm644x_emac_resources,
|
||||
};
|
||||
|
||||
#define PINMUX0 0x00
|
||||
#define PINMUX1 0x04
|
||||
|
||||
/*
|
||||
* Device specific mux setup
|
||||
*
|
||||
|
مرجع در شماره جدید
Block a user