summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJohannes Rauh <johnbthetenth@gmail.com>2017-04-29 18:33:45 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-06 17:16:55 +0200
commit3a5ae7dd3a2c7a74b69b83301bb29850a9601faf (patch)
tree005357c1907ee01135d23fb6b68c5dfbd4793079 /firmware/export
parent1d121e8c082fe67757cf0d4df7b9e6ca1e26f755 (diff)
downloadrockbox-3a5ae7dd3a2c7a74b69b83301bb29850a9601faf.zip
rockbox-3a5ae7dd3a2c7a74b69b83301bb29850a9601faf.tar.gz
rockbox-3a5ae7dd3a2c7a74b69b83301bb29850a9601faf.tar.bz2
rockbox-3a5ae7dd3a2c7a74b69b83301bb29850a9601faf.tar.xz
Add support for Sony NW-A20
Add original author to CREDITS Change-Id: I7a0159635c7896e2b5521c078ef62618f568d89e
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h2
-rw-r--r--firmware/export/config/sonynwa20.h16
2 files changed, 18 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index aa11766..f98ccbd 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -590,6 +590,8 @@ Lyre prototype 1 */
#include "config/sonynwze580.h"
#elif defined(SONY_NWZA10)
#include "config/sonynwza10.h"
+#elif defined(SONY_NWA20)
+#include "config/sonynwa20.h"
#elif defined(SONY_NWZE470)
#include "config/sonynwze470.h"
#else
diff --git a/firmware/export/config/sonynwa20.h b/firmware/export/config/sonynwa20.h
new file mode 100644
index 0000000..d9f6292
--- /dev/null
+++ b/firmware/export/config/sonynwa20.h
@@ -0,0 +1,16 @@
+/*
+ * This config file is for the Sony NW-A20 series
+ */
+
+/* For Rolo and boot loader */
+#define MODEL_NUMBER 106
+
+#define MODEL_NAME "Sony NW-A20 Series"
+
+/* LCD dimensions */
+#define LCD_WIDTH 240
+#define LCD_HEIGHT 320
+/* sqrt(240^2 + 320^2) / 2 = 200 */
+#define LCD_DPI 200
+
+#include "sonynwzlinux.h"