From cc2389b7a61784c229b42da4abbc238a42e5173d Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 24 Jan 2017 15:22:27 +0100 Subject: hwstub: add jz4760b stub The stub is quite versatile: it can be loaded using bootrom or another other means (like factory boot on Fiio X1). It relocates itself to TCSM0 and provides basic functionality (it does not recover from failed read/writes at the moment). Change-Id: Ib646a4b43fba9358d6f93f0f73a5c2e9bcd775a7 --- utils/hwstub/stub/jz4760b/target-config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/hwstub/stub/jz4760b/target-config.h (limited to 'utils/hwstub/stub/jz4760b/target-config.h') diff --git a/utils/hwstub/stub/jz4760b/target-config.h b/utils/hwstub/stub/jz4760b/target-config.h new file mode 100644 index 0000000000..fa018c14dc --- /dev/null +++ b/utils/hwstub/stub/jz4760b/target-config.h @@ -0,0 +1,11 @@ +#define CONFIG_JZ4760B +#define TCSM0_ORIG 0xf4000000 +#define TCSM0_SIZE 0x4000 +#define CPU_MIPS +#define STACK_SIZE 0x300 + +/* something provides define + * #define mips 1 + * which breaks paths badly + */ +#undef mips -- cgit v1.2.3