summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-29 16:09:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-01-02 08:10:01 -0500
commitd4942cc74c82c465ea395637c77ed06565b8b497 (patch)
tree8c1fa737c93f8a2ade5a1566857dc4dc8f578bd6 /firmware/export/config.h
parentaf9459a7992596e932c6d8cc0a6366ff0f0b0fca (diff)
downloadrockbox-d4942cc74c82c465ea395637c77ed06565b8b497.tar.gz
rockbox-d4942cc74c82c465ea395637c77ed06565b8b497.zip
Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 8b177963d3..2db12bea4a 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -169,6 +169,8 @@
169#define SONY_NWZA860_PAD 64 /* The NWZ-A860 is too different (touchscreen) */ 169#define SONY_NWZA860_PAD 64 /* The NWZ-A860 is too different (touchscreen) */
170#define AGPTEK_ROCKER_PAD 65 170#define AGPTEK_ROCKER_PAD 65
171#define XDUOO_X3_PAD 66 171#define XDUOO_X3_PAD 66
172#define IHIFI_770_PAD 67
173#define IHIFI_800_PAD 68
172 174
173/* CONFIG_REMOTE_KEYPAD */ 175/* CONFIG_REMOTE_KEYPAD */
174#define H100_REMOTE 1 176#define H100_REMOTE 1
@@ -284,6 +286,9 @@
284#define LCD_NWZ_LINUX 63 /* as used in the Linux-based NWZ series */ 286#define LCD_NWZ_LINUX 63 /* as used in the Linux-based NWZ series */
285#define LCD_INGENIC_LINUX 64 287#define LCD_INGENIC_LINUX 64
286#define LCD_XDUOOX3 65 /* as used by the xDuoo X3 */ 288#define LCD_XDUOOX3 65 /* as used by the xDuoo X3 */
289#define LCD_IHIFI770 66 /* as used by IHIFI 770 */
290#define LCD_IHIFI770C 67 /* as used by IHIFI 770C */
291#define LCD_IHIFI800 68 /* as used by IHIFI 800 */
287 292
288/* LCD_PIXELFORMAT */ 293/* LCD_PIXELFORMAT */
289#define HORIZONTAL_PACKING 1 294#define HORIZONTAL_PACKING 1
@@ -581,6 +586,12 @@ Lyre prototype 1 */
581#include "config/samsungypz5.h" 586#include "config/samsungypz5.h"
582#elif defined(IHIFI760) 587#elif defined(IHIFI760)
583#include "config/ihifi760.h" 588#include "config/ihifi760.h"
589#elif defined(IHIFI770)
590#include "config/ihifi770.h"
591#elif defined(IHIFI770C)
592#include "config/ihifi770c.h"
593#elif defined(IHIFI800)
594#include "config/ihifi800.h"
584#elif defined(IHIFI960) 595#elif defined(IHIFI960)
585#include "config/ihifi960.h" 596#include "config/ihifi960.h"
586#elif defined(CREATIVE_ZENXFISTYLE) 597#elif defined(CREATIVE_ZENXFISTYLE)
@@ -974,7 +985,6 @@ Lyre prototype 1 */
974#define USB_STATUS_BY_EVENT 985#define USB_STATUS_BY_EVENT
975#define USB_DETECT_BY_REQUEST 986#define USB_DETECT_BY_REQUEST
976#elif CONFIG_USBOTG == USBOTG_RK27XX 987#elif CONFIG_USBOTG == USBOTG_RK27XX
977#define USB_STATUS_BY_EVENT
978#define USB_DETECT_BY_REQUEST 988#define USB_DETECT_BY_REQUEST
979#endif /* CONFIG_USB == */ 989#endif /* CONFIG_USB == */
980#endif /* HAVE_USBSTACK */ 990#endif /* HAVE_USBSTACK */
@@ -1193,7 +1203,7 @@ Lyre prototype 1 */
1193#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */ 1203#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
1194 1204
1195#ifndef SIMULATOR 1205#ifndef SIMULATOR
1196#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) 1206#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) || (CONFIG_STORAGE & STORAGE_RAMDISK)
1197#define STORAGE_GET_INFO 1207#define STORAGE_GET_INFO
1198#endif 1208#endif
1199#endif 1209#endif
@@ -1211,7 +1221,8 @@ Lyre prototype 1 */
1211 (CONFIG_USBOTG == USBOTG_JZ4760) || \ 1221 (CONFIG_USBOTG == USBOTG_JZ4760) || \
1212 (CONFIG_USBOTG == USBOTG_M66591) || \ 1222 (CONFIG_USBOTG == USBOTG_M66591) || \
1213 (CONFIG_USBOTG == USBOTG_DESIGNWARE) || \ 1223 (CONFIG_USBOTG == USBOTG_DESIGNWARE) || \
1214 (CONFIG_USBOTG == USBOTG_AS3525) 1224 (CONFIG_USBOTG == USBOTG_AS3525) || \
1225 (CONFIG_USBOTG == USBOTG_RK27XX)
1215#define USB_HAS_BULK 1226#define USB_HAS_BULK
1216#define USB_HAS_INTERRUPT 1227#define USB_HAS_INTERRUPT
1217#elif defined(CPU_TCC780X) || defined(CPU_TCC77X) 1228#elif defined(CPU_TCC780X) || defined(CPU_TCC77X)