path: root/utils/hwstub/tools/lua/stmp.lua
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12hwstub: add code to dump STMP romAmaury Pouly1-1/+2
Change-Id: I083024662f3c085f7bcd2f85b0a68de85725b0f3
2016-04-08hwstub: port hwstub_shell to the new libraryAmaury Pouly1-21/+21
Also use this opportunity to cleanup support for multiple devices: the shell now supports dynamic changes in the device and will call init() everytime a new device is selected, to prepare a new environment. The shell now honors register width on register read/write. The shell also provides access to variants as follows by creating a subtable under the register using the variant type in UPPER case and having the same layout as a register. For example if register HW.GPIO.DIR has variants "set" and "clr", those can be used like this: HW.GPIO.DIR.SET.write(0xff) HW.GPIO.DIR.CLR.write(0xff00) Change-Id: I943947fa98bce875de0cba4338e8b7196a4c1165
2013-09-25hwstub: add stmp i2c codeAmaury Pouly1-0/+1
Change-Id: I6787e682a9e22cb34e6d94d25bf68d7575d784c4
2013-08-11hwstub: add stmp clkctrl code and generic register dumperAmaury Pouly1-0/+1
Change-Id: I432853fb4171f07ed23b73dc0499814fe8ce8748
2013-06-13hwstub: introduce lua code for the STMP and Creative ZEN V/MozaicAmaury Pouly1-0/+78
Change-Id: Ice5f509a2e0d2114436d4760f338b9203ef96691