4 months ago | Paul Boddie | raw annotate files changeset graph | Adjusted response processing to employ structure types directly. | cpm-library-improvements |
1 -- vi:ft=lua 2 -- configuration file for io 3 4 local hw = Io.system_bus() 5 6 local bus = Io.Vi.System_bus 7 { 8 AIC = wrap(hw:match("jz4780-aic")); 9 CPM = wrap(hw:match("jz4780-cpm")); 10 DMA = wrap(hw:match("jz4780-dma")); 11 GPIO = wrap(hw:match("jz4780-gpio")); 12 I2C = wrap(hw:match("jz4780-i2c")); 13 RTC = wrap(hw:match("jz4780-rtc")); 14 SSI = wrap(hw:match("jz4780-ssi")); 15 TCU = wrap(hw:match("jz4780-tcu")); 16 } 17 18 Io.add_vbus("common", bus)