summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-02-22 00:59:52 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-02-22 01:08:17 +0100
commita16b65e47d2a972c4fee955647439d22bdb8ce11 (patch)
tree427b5b448ad067d509115d827661cb8e54178830
parentbf4edb3614f93dcd413f1050d613568afcf7ce96 (diff)
downloadrockbox-a16b65e47d2a972c4fee955647439d22bdb8ce11.zip
rockbox-a16b65e47d2a972c4fee955647439d22bdb8ce11.tar.gz
rockbox-a16b65e47d2a972c4fee955647439d22bdb8ce11.tar.bz2
rockbox-a16b65e47d2a972c4fee955647439d22bdb8ce11.tar.xz
Force YPR0 to 240x320
The YPR0 has a fixed screen size. Letting the generic RaaA screen size selection code work on causes checkwps/buildall.sh to build broken checkwps binaries. There's no good reason to allow overriding the screen size here Change-Id: Ic666d28d10273000a8c1867580c8d1a13dd98dc9
-rw-r--r--firmware/export/config/samsungypr0.h9
-rwxr-xr-xtools/configure1
2 files changed, 1 insertions, 9 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index cbc1756..1741dd9 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -49,16 +49,9 @@
/* define this if you would like tagcache to build on this target */
#define HAVE_TAGCACHE
-/* LCD dimensions
- *
- * overriden by configure for application builds */
-#ifndef LCD_WIDTH
+/* LCD dimensions */
#define LCD_WIDTH 240
-#endif
-
-#ifndef LCD_HEIGHT
#define LCD_HEIGHT 320
-#endif
#define LCD_DEPTH 16
/* Check that but should not matter */
diff --git a/tools/configure b/tools/configure
index f9a5869..ee76ed7 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3284,7 +3284,6 @@ fi
target_id=78
modelname="samsungypr0"
target="SAMSUNG_YPR0"
- app_set_lcd_size 240 320
memory=32
uname=`uname`
ypr0cc