summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/lua/load.lua
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-04-12 00:08:11 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-04-12 00:11:13 +0200
commit238be18d0331a7a87e3ea8ea0d24b78e451357cb (patch)
tree31807bf3fd533d2d0d3d4eb0421b08100cc67c25 /utils/hwstub/tools/lua/load.lua
parent910235b49a754fcd18157dbd22e125a32b482c9d (diff)
downloadrockbox-238be18d0331a7a87e3ea8ea0d24b78e451357cb.tar.gz
rockbox-238be18d0331a7a87e3ea8ea0d24b78e451357cb.zip
hwstub: add proper PP support
- drop support for PP500x: it's very different from other PP and although it would be possible to support them, I don't have one to test the code - make sure only the CPU is started - add PP descriptor to report chip ID and revision - add code in shell and lua to support pp (no register description yet) - compile for ARMv4 because PP502x is an ARM7TDMI Change-Id: I36c4e465dfc2cfdfe7433b2f65cc8f6f0720fe62
Diffstat (limited to 'utils/hwstub/tools/lua/load.lua')
-rw-r--r--utils/hwstub/tools/lua/load.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hwstub/tools/lua/load.lua b/utils/hwstub/tools/lua/load.lua
index 2875b74f1a..a812f92636 100644
--- a/utils/hwstub/tools/lua/load.lua
+++ b/utils/hwstub/tools/lua/load.lua
@@ -2,6 +2,8 @@ package.path = string.sub(string.gsub(debug.getinfo(1).source, "load.lua", "?.lu
2 2
3if hwstub.dev.target.id == hwstub.dev.target.STMP then 3if hwstub.dev.target.id == hwstub.dev.target.STMP then
4 require "stmp" 4 require "stmp"
5elseif hwstub.dev.target.id == hwstub.dev.target.PP then
6 require "pp"
5end 7end
6 8
7require "dumper" 9require "dumper"