📄 bbu_littleton_defs.inc
字号:
;*********************************************************************************
;
; COPYRIGHT (C) 2006-2007 Marvell International Ltd. All Rights Reserved.
;
; The information in this file is furnished for informational use only,
; is subject to change without notice, and should not be construed as
; a commitment by Marvell. Marvell assumes no responsibility or liability
; for any errors or inaccuracies that may appear in this software or any
; documenation that may be provided in association with this software.
;
;*********************************************************************************
;
;
; Module Name: bbu_Zylonite_defs.inc
;
; Last Updated: 9-Jan-2007
;
; Abstract:
;
; This include file contains platform definitions that are BBU specific and
; are not included in the xlli include file.
;
;*********************************************************************************
;
;
; **************************
; ** **
; ** DATA FOR LCD SETUP **
; ** **
; **************************
;
;
BBU_LCD_PHY_FRAME0 EQU 0x8016A000 ; Physical address of LCD frame buffer 0
BBU_LCD_PHY_FRAME1 EQU 0x80200000 ; Physical address of LCD frame buffer 1
bbu_LCD_OVL2 EQU 0x80100000 ; Address to use for LCD overlay 2 buffer area
;
; **************************
; ** **
; ** DATA FOR MSL SETUP **
; ** **
; **************************
;
; MFPR Setup - Also used for USB 2.0 setup
;
MFPR_MSL_IDAT1 EQU 83<<1 ; MFPR_83
MFPR_MSL_IDAT2 EQU 84<<1 ; MFPR_84
;
; Defs for the GPST (GPIO STatus) BBU command
;
BBU_GPST_SET0 EQU 0x20302020 ; ASCII " 0 "
BBU_GPST_SET1 EQU 0x20363120 ; ASCII " 16 "
BBU_GPST_SET2 EQU 0x20323320 ; ASCII " 32 "
BBU_GPST_SET3 EQU 0x20383420 ; ASCII " 48 "
BBU_GPST_SET4 EQU 0x20343620 ; ASCII " 64 "
BBU_GPST_SET5 EQU 0x20303820 ; ASCII " 80 "
BBU_GPST_SET6 EQU 0x20363920 ; ASCII " 96 "
BBU_GPST_SET7 EQU 0x20323131 ; ASCII "112 "
BBU_GPST_SET8 EQU 0x20383231 ; ASCII "128 "
;
; ****************************************
; ** **
; ** BIT SETTINGS FOR BBU STATUS WORD **
; ** **
; ****************************************
;
BBU_STAT_IMEM EQU 1<<0 ; SDRAM initialized
BBU_STAT_MPTS EQU 1<<1 ; BBU running out of SDRAM
BBU_STAT_ARAV EQU 1<<2 ; Arava Power Management Chip Present
BBU_STAT_TCAL EQU 1<<3 ; Touch Panel calibrated
BBU_STAT_KEYR EQU 1<<4 ; Keypad key or register dump select
BBU_STAT_OVL2 EQU 1<<5 ; LCD Overlay 2 enabled
BBU_STAT_HIFI EQU 1<<6 ; HIFI codec interface initialized
BBU_STAT_VOICE EQU 1<<7 ; Voice codec interface initialized
BBU_STAT_ENET EQU 1<<8 ; BBU ENET command has been issued
BBU_STAT_RCOMP EQU 1<<9 ; Rcomp update display
BBU_STAT_PNCODE EQU 1<<10 ; Display Rcomp P/N codes on interrupt
BBU_STAT_IRDA EQU 1<<11 ; IrDA interface enabled
BBU_STAT_LCD_LANDSCAPE EQU 1<<23 ; 0 = Portrait position 1 = Landscape
BBU_STAT_CAMID EQU 0xFF<<24 ; Upper most byte reserved for current camera ID
;
; ********************************************
; ** **
; ** BIT SETTINGS FOR BBU CMD STATUS WORD **
; ** **
; ********************************************
;
BBU_CMD_UART1 EQU 1<<0 ; bit 0 - UART1 (FFUART)
BBU_CMD_UART2 EQU 1<<1 ; bit 1 - UART2 (BTUART)
BBU_CMD_UART3 EQU 1<<2 ; bit 2 - UART3 (STUART)
BBU_CMD_KEYPAD EQU 1<<3 ; bit 3 - KEYPAD
BBU_CMD_KEYPAD_OK EQU 1<<4 ; bit 4 - KEYPAD <OK> pushed
BBU_CMD_RTC EQU 1<<5 ; bit 5 - Real Time Clock
BBU_CMD_UFILE EQU 1<<6 ; bit 6 - Process user command file
;
; **************************************
; ** **
; ** MEMORY RELATED GLOBALS FOR BBU **
; ** **
; **************************************
; Memory Sizes
bbu_MemSize_1Kb EQU (0x00000400)
bbu_MemSize_2Kb EQU (0x00000800)
bbu_MemSize_4Kb EQU (0x00001000)
bbu_MemSize_8Kb EQU (0x00002000)
bbu_MemSize_16Kb EQU (0x00004000)
bbu_MemSize_32Kb EQU (0x00008000)
bbu_MemSize_64Kb EQU (0x00010000)
bbu_MemSize_128Kb EQU (0x00020000)
bbu_MemSize_256Kb EQU (0x00040000)
bbu_MemSize_512Kb EQU (0x00080000)
bbu_MemSize_1Mb EQU (0x00100000)
bbu_MemSize_2Mb EQU (0x00200000)
bbu_MemSize_4Mb EQU (0x00400000)
bbu_MemSize_8Mb EQU (0x00800000)
bbu_MemSize_16Mb EQU (0x01000000)
bbu_MemSize_32Mb EQU (0x02000000)
bbu_MemSize_63Mb EQU (0x03F00000)
bbu_MemSize_64Mb EQU (0x04000000)
bbu_MemSize_128Mb EQU (0x08000000)
bbu_MemSize_256Mb EQU (0x10000000)
bbu_MemSize_512Mb EQU (0x20000000)
bbu_MemSize_1024Mb EQU (0x40000000)
bbu_XTAL EQU 1300 ; Core Xtal frequency in MHz * 100
;
; Define virtural SDRAM base address for audio data is recored for RECO and PLAY commands
;
BBU_AUDIO_ADD EQU 0x80200000 ; Audio data base virtural address
BBU_AUDIO_DMA EQU 0x00000078 ; Number of DMA descriptors to generate
BBU_AUDIO_SIZE EQU 0x1FE0 ; Number of bytes per DMA descriptor
;
; Misc defs for BBU
;
bbu_MiscBuffer EQU 0x800FF000 ; Misc use buffer area
BBU_load_address EQU 0x80100000 ; Address where BBU is loaded into memory
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -