mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-15 03:37:06 +00:00
234051df1c
This metaclass voodoo allows us to define register maps like this: class SomeDevice(RegMap): FOO = 0x0000, Register32 BAR = 0x0004, Register32 # Register array BAZ = range(0x100, 0x200, 4), Register32 Signed-off-by: Hector Martin <marcan@marcan.st> |
||
---|---|---|
.. | ||
experiments | ||
hv | ||
m1n1 | ||
tools |