[LEDE-DEV] [PATCH RFC] ramips: convert mt7530 to use numerical mediatek, portmap property

Felix Fietkau nbd at nbd.name
Wed Feb 22 06:52:09 PST 2017


On 2017-02-22 15:36, Daniel Golle wrote:
> Just like on Rt305x, use numerical values for portmap instead of
> strings. Map strings in device-tree definitions to numerical values
> such that:
> "llllw" = <0x2f>
> "wllll" = <0x3e>
> "lllll" = <0x3f>
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
The hex values look weird. Can't we have nice looking #defines for the
common cases?

- Felix



More information about the Lede-dev mailing list