From ccfa51835e373c74cdda7eaad962a81ba1001fe2 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 7 Apr 2014 22:23:54 +0200 Subject: Add hwstub support for portal player (manufacturer mode) It is very similar to how e200tool from MrH works but uses the framework of hwstub which is makes it completely trivial since we already have the USB driver written. Change-Id: I61cdc245d3f828c2682bcd6ecfed5a1cc0094139 --- utils/hwstub/stub/pp/target-config.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 utils/hwstub/stub/pp/target-config.h (limited to 'utils/hwstub/stub/pp/target-config.h') diff --git a/utils/hwstub/stub/pp/target-config.h b/utils/hwstub/stub/pp/target-config.h new file mode 100644 index 0000000000..0774137277 --- /dev/null +++ b/utils/hwstub/stub/pp/target-config.h @@ -0,0 +1,9 @@ +#define CONFIG_PP +#define IRAM_ORIG 0x40000000 +#define IRAM_SIZE 0x20000 +#define DRAM_ORIG 0x10f00000 +#define DRAM_SIZE (MEMORYSIZE * 0x100000) +#define CPU_ARM +#define ARM_ARCH 5 +#define USB_BASE 0xc5000000 +#define USB_NUM_ENDPOINTS 2 \ No newline at end of file -- cgit v1.2.3