summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/sonynwza860.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/sonynwza860.h')
-rw-r--r--firmware/export/config/sonynwza860.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/firmware/export/config/sonynwza860.h b/firmware/export/config/sonynwza860.h
new file mode 100644
index 0000000000..f61dd7a4dd
--- /dev/null
+++ b/firmware/export/config/sonynwza860.h
@@ -0,0 +1,24 @@
+/*
+ * This config file is for the Sony NWZ-A860 series
+ */
+
+/* For Rolo and boot loader */
+#define MODEL_NUMBER 107
+
+#define MODEL_NAME "Sony NWZ-A860 Series"
+
+/* LCD dimensions */
+#define LCD_WIDTH 240
+#define LCD_HEIGHT 400
+/* sqrt(240^2 + 400^2) / 2.8 = 166 */
+#define LCD_DPI 166
+
+/* this device has a touchscreen */
+#define HAVE_TOUCHSCREEN
+#define HAVE_BUTTON_DATA
+
+#include "sonynwzlinux.h"
+
+/* override keypad */
+#undef CONFIG_KEYPAD
+#define CONFIG_KEYPAD SONY_NWZA860_PAD