summaryrefslogtreecommitdiff
path: root/utils/hwstub/stub/pp/target-config.h
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/stub/pp/target-config.h
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/stub/pp/target-config.h')
-rw-r--r--utils/hwstub/stub/pp/target-config.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/hwstub/stub/pp/target-config.h b/utils/hwstub/stub/pp/target-config.h
index 0774137277..0cd7c0ccc7 100644
--- a/utils/hwstub/stub/pp/target-config.h
+++ b/utils/hwstub/stub/pp/target-config.h
@@ -1,9 +1,7 @@
1#define CONFIG_PP 1#define CONFIG_PP
2#define IRAM_ORIG 0x40000000 2#define IRAM_ORIG 0x40000000
3#define IRAM_SIZE 0x20000 3#define IRAM_SIZE 0xc000
4#define DRAM_ORIG 0x10f00000
5#define DRAM_SIZE (MEMORYSIZE * 0x100000)
6#define CPU_ARM 4#define CPU_ARM
7#define ARM_ARCH 5 5#define ARM_ARCH 4
8#define USB_BASE 0xc5000000 6#define USB_BASE 0xc5000000
9#define USB_NUM_ENDPOINTS 2 \ No newline at end of file 7#define USB_NUM_ENDPOINTS 2 \ No newline at end of file