summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorJiaojinxing <jiaojinxing1987@gmail.com>2015-06-16 01:15:09 (GMT)
committer Jiaojinxing <jiaojinxing1987@gmail.com>2015-06-16 01:15:09 (GMT)
commit6f53f300a1297b8ef833de085561ffaef88f9f0a (patch)
tree439c103f0ce5d14d288bd4cefd4c8ebac900100b
parenta476a373bce39ddc8f6c7d52ae6a8cec8ca7024c (diff)
downloadbspam335x-6f53f300a1297b8ef833de085561ffaef88f9f0a.zip
bspam335x-6f53f300a1297b8ef833de085561ffaef88f9f0a.tar.gz
bspam335x-6f53f300a1297b8ef833de085561ffaef88f9f0a.tar.bz2
Fixed beaglebone bug.
-rw-r--r--SylixOS/bsp/beaglebone/bspBeaglebone.c30
1 files changed, 27 insertions, 3 deletions
diff --git a/SylixOS/bsp/beaglebone/bspBeaglebone.c b/SylixOS/bsp/beaglebone/bspBeaglebone.c
index c8d377d..8da5729 100644
--- a/SylixOS/bsp/beaglebone/bspBeaglebone.c
+++ b/SylixOS/bsp/beaglebone/bspBeaglebone.c
@@ -66,8 +66,6 @@
#include "driver/audio/codec/codecDrv.h"
#include "driver/audio/codec/tlv320aic3x/tlv320aic3x.h"
-#include "driver/usb/host/mouse/am335x_usb_mouse.h"
-
#include "driver/beep/beep.h"
#include "driver/ft5x06/ft5x06.h"
#include "driver/ds1337/ds1337.h"
@@ -169,7 +167,6 @@ VOID bspDrvInit (VOID)
omap2NandDrv();
am335xAdcDrv();
- am335xUsbMouseDrv();
am335xAdcTouchDrv();
am335xPwmDrv();
am335xECapDrv();
@@ -310,5 +307,32 @@ UINT bspVdd1OpVoltageGet (VOID)
return (uiVoltage);
}
/*********************************************************************************************************
+** 函数名称: am335xUsbBoardGet
+** 功能描述: 获取 BSP 板类型
+** 输 入 : NONE
+** 输 出 : -1: 表示位置类型, USB 驱动将使用默认处理
+** 全局变量:
+** 调用模块:
+*********************************************************************************************************/
+static INT am335xUsbBoardGet (VOID)
+{
+ return (-1);
+}
+/*********************************************************************************************************
+** 函数名称: halSymbolInit
+** 功能描述: 初始化目标系统符号表环境
+** 输 入 : NONE
+** 输 出 : NONE
+** 全局变量:
+** 调用模块:
+*********************************************************************************************************/
+VOID bspSymbolInit (VOID)
+{
+ /*
+ * 加入 USB 库将使用的 BSP 函数符号
+ */
+ API_SymbolAdd("am335xUsbBoardGet", (caddr_t)am335xUsbBoardGet, LW_SYMBOL_FLAG_XEN);
+}
+/*********************************************************************************************************
END
*********************************************************************************************************/