First drop of changes to enable a full ui rom build
authorDario Sestito <darios@symbian.org>
Fri, 16 Jul 2010 17:10:10 +0100
changeset 43 d1a826faf80b
parent 39 cdb163c0843f
child 44 4508ea692a4d
First drop of changes to enable a full ui rom build
omap3530/beagle_drivers/lcd/bld.inf
omap3530/beagle_drivers/lcd/lcd_gce.mmp
omap3530/beagleboard/rom/base_beagle.iby
--- a/omap3530/beagle_drivers/lcd/bld.inf	Thu Jul 01 17:46:13 2010 +0100
+++ b/omap3530/beagle_drivers/lcd/bld.inf	Fri Jul 16 17:10:10 2010 +0100
@@ -18,3 +18,4 @@
 
 PRJ_MMPFILES
 lcd
+lcd_gce
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omap3530/beagle_drivers/lcd/lcd_gce.mmp	Fri Jul 16 17:10:10 2010 +0100
@@ -0,0 +1,58 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// beagle/beagle_drivers/lcd.mmp
+// lcd.dll Beagle LCD driver
+//
+
+
+
+/**
+ @file
+*/
+#define __USING_ASSP_REGISTER_API__
+#define __USING_ASSP_INTERRUPT_API__
+
+#include			"beagle/variant.mmh"
+#include			"kernel/kern_ext.mmh"
+
+//Need to define NGA_BUILD for a NGA compliant Display PDD
+#define NGA_BUILD
+#ifdef NGA_BUILD
+MACRO ENABLE_GCE_MODE
+target				VariantTarget(lcd_gce,dll)
+#else
+target				VariantTarget(lcd,dll)
+#endif
+
+targettype			kext
+romtarget			lcd.dll
+
+sourcepath			.
+source				lcd.cpp
+
+SYMBIAN_BASE_SYSTEMINCLUDE(drivers)
+userinclude			.
+
+library			VariantTarget(ecust,lib)
+LIBRARY         AsspTarget(prcm,lib)
+
+noexportlibrary
+
+epocallowdlldata
+
+uid					0x1000008d 0x100039e8
+
+VENDORID 0x70000001
+
+capability			all
--- a/omap3530/beagleboard/rom/base_beagle.iby	Thu Jul 01 17:46:13 2010 +0100
+++ b/omap3530/beagleboard/rom/base_beagle.iby	Fri Jul 16 17:10:10 2010 +0100
@@ -105,6 +105,11 @@
 extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_omap3530_i2c.dll			\sys\bin\i2c.dll
 #include <../omapshared/tps65950.iby>
 
+#ifdef SYMBIAN_BASE_USE_GCE
+extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_beagle_lcd_gce.dll	\sys\bin\lcd.dll
+device[VARID]=KERNEL_DIR\DEBUG_DIR\display.ldd			\sys\bin\display0.ldd
+#file=ABI_DIR\DEBUG_DIR\_beagle_ekdata.dll				\sys\bin\ekdata.dll
+#else
 #ifdef TSHELL_SERIAL
 	//Use VT100 Over Serial
 #	define EDISP_DRV	\EDISP_VT100.DLL
@@ -129,6 +134,7 @@
 device[VARID]=	KERNEL_DIR\BUILD_DIR\usbc.ldd							\sys\bin\eusbc.ldd
 extension[VARID]=	\epoc32\release\ARMV5\BUILD_DIR\_beagle_usbv.dll					\sys\bin\usbv.DLL
 #endif
+#endif //SYMBIAN_BASE_USE_GCE
 
 //extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_beagle_ekeyb.dll	\sys\bin\ekeyb.dll
 extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_omap3530_serialkeyboard.DLL	\sys\bin\ekeyb.dll
\ No newline at end of file