omap3530/beagle_drivers/wb/wb.mmp
author arunabha
Wed, 03 Mar 2010 13:10:32 +0000
changeset 27 117faf51deac
permissions -rw-r--r--
Bug 1996 - Contribution for West Bridge Astoria Symbian Storage Driver this storage driver is for the West Bridge Astoria chipset. This device has a USB, SD and processor port for communication with a baseband processor. In our port, we connected this device DVK to the Beagleboard through the SPI interface of the OMAP3. After driver installation, the Symbian OS can see an external device or D: drive represented by the SD card. In this driver, the USB interface is not used directly, though this may be the subject of future contributions. The appropriate way to test the driver is to access the external volume and do file read and write to it, pretty much the same way you would test a thumb drive on your PC

// ===========================
//
//  Copyright Cypress Semiconductor Corporation, 2006-2009,
//  All Rights Reserved
//  UNPUBLISHED, LICENSED SOFTWARE.
//
//  CONFIDENTIAL AND PROPRIETARY INFORMATION
//  WHICH IS THE PROPERTY OF CYPRESS.
//
// ===========================
//
// Description:
// oamp3530/beagle_drivers/wb/wb.mmp
// wb.dll Beagle WB driver
//



/**
 @file
*/
#define __USING_ASSP_REGISTER_API__
#define __USING_ASSP_INTERRUPT_API__

#include			"beagle/variant.mmh"
#include			"kernel/kern_ext.mmh"

USERINCLUDE		./api/include
USERINCLUDE		./api/hal
USERINCLUDE		./api/src
USERINCLUDE		./drivers

//target				VariantTarget(wb,dll)
target				wb.dll
targettype			kext
romtarget			wb.dll

macro				CY_DEFINE_BASIC_TYPES
macro				__CY_ASTORIA_BEAGLEBOARD_SPI__HAL__
macro				DEBUG_ZERO
macro				DEBUG_MSC
//macro				FIRMWARE_NOPPORT
//macro				HW_TEST
macro				OVERCLOCK_SD

sourcepath			.

source 				./api/src/cyasdma.c 
source				./api/src/cyaslep2pep.c 
source				./api/src/cyaslowlevel.c 
source				./api/src/cyasmisc.c 
source				./api/src/cyasmtp.c 
source				./api/src/cyasstorage.c 
source				./api/src/cyasusb.c 
source				./api/src/cyasintr.c
source				./api/hal/cyashalbeagleboard_spi.cpp 
source 				./api/hal/cyashalbeagleboard.cpp 
source 				./drivers/CyAsSymbianStorageDriver.cpp 
source 				./drivers/cyasusbinit.cpp
source				wb.cpp

library				VariantTarget(ecust,lib) 
library				AsspTarget(gpio,lib)
library             		AsspTarget(prcm,lib)

deffile 		./def/~/wb.def

start wins
win32_headers
end

epocallowdlldata

UID			0x10004379 0x10005742
VENDORID	0x70000001

capability		all

SMPSAFE