blob: 71ce58a0b222a212189d1cd81e7f13e5116f92b7 [file] [log] [blame]
/**************************************************************************
*
* Copyright (c) 2014 ZTE Corporation.
*
***************************************************************************
* Ä£ ¿é Ãû :
* ÎÄ ¼þ Ãû : RONvConfig.h
* Ïà¹ØÎļþ :
* ʵÏÖ¹¦ÄÜ :
* ×÷ Õß :
* °æ ±¾ :
* Íê³ÉÈÕÆÚ :
* ÆäËü˵Ã÷ :
**************************************************************************/
/**************************************************************************
* Ð޸ļǼ
**************************************************************************/
#ifndef _RONVCONFIG_H
#define _RONVCONFIG_H
/****************************************************************************
Begin
****************************************************************************/
#define OS_FLASH_NV_PARTITION_BASE_ADDR 0 /*NV·ÖÇø»ùÖ·*/
#define OS_FLASH_RO_OFFSET_FROM_NV 0 /*Ö»¶ÁÇøÆ«ÒÆ*/
#define OS_FLASH_RO_NVRAM_SIZE (0x180000UL)
/************************************
amt area config---part I AMT comm info-32KB
*************************************/
#define OS_FLASH_AMT_COMM_RO_OFFSET_FROM_NV OS_FLASH_RO_OFFSET_FROM_NV
#define OS_FLASH_AMT_COMM_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_COMM_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_COMM_RO_NONFAC_SIZE (32 * 1024)
/************************************
amt area config---part II TDD_LTE&FDD_LTE info-256KB
*************************************/
#define OS_FLASH_AMT_LTE_RO_OFFSET_FROM_NV (OS_FLASH_AMT_COMM_RO_OFFSET_FROM_NV + OS_FLASH_AMT_COMM_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_LTE_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_LTE_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_LTE_RO_NONFAC_SIZE (256 * 1024)
/************************************
amt area config---part IV TD_S info-32KB
*************************************/
#define OS_FLASH_AMT_TDS_RO_OFFSET_FROM_NV (OS_FLASH_AMT_LTE_RO_OFFSET_FROM_NV + OS_FLASH_AMT_LTE_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_TDS_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_TDS_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_TDS_RO_NONFAC_SIZE (32 * 1024)
/************************************
amt area config---part V GGE info-32KB
*************************************/
#define OS_FLASH_AMT_GGE_RO_OFFSET_FROM_NV (OS_FLASH_AMT_TDS_RO_OFFSET_FROM_NV + OS_FLASH_AMT_TDS_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_GGE_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_GGE_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_GGE_RO_NONFAC_SIZE (32 * 1024)
/************************************
amt area config---part VII WCDMA info-128KB
*************************************/
#define OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV (OS_FLASH_AMT_GGE_RO_OFFSET_FROM_NV + OS_FLASH_AMT_GGE_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_WCDMA_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_WCDMA_RO_NONFAC_SIZE (128 * 1024)
/************************************
amt area config---part VII LTEA info-480KB
*************************************/
#define OS_FLASH_AMT_LTEA_RO_OFFSET_FROM_NV (OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV + OS_FLASH_AMT_WCDMA_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_LTEA_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_LTEA_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_LTEA_RO_NONFAC_SIZE (320 * 1024)
/************************************
amt area config---part VI WiFi info-32KB
*************************************/
#define OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV (OS_FLASH_AMT_LTEA_RO_OFFSET_FROM_NV + OS_FLASH_AMT_LTEA_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_WIFI_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_WIFI_RO_NONFAC_SIZE (32 * 1024)
/************************************
lock net config---32KB
*************************************/
#define OS_FLASH_AMT_LOCKNET_RO_OFFSET_FROM_NV (OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV + OS_FLASH_AMT_WIFI_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_LOCKNET_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_LOCKNET_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_LOCKNET_RO_NONFAC_SIZE (32 * 1024)
/****************************************************************************
reserved config
****************************************************************************/
/************************************
amt area config---Reserved -160KB
*************************************/
#define OS_FLASH_AMT_RESERVED_RO_OFFSET_FROM_NV (OS_FLASH_AMT_LOCKNET_RO_OFFSET_FROM_NV + OS_FLASH_AMT_LOCKNET_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_RESERVED_RO_NONFAC_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_AMT_RESERVED_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_RESERVED_RO_NONFAC_SIZE (160 * 1024)
/****************************************************************************
ROW (0.5M)
****************************************************************************/
#define OS_FLASH_ROW_OFFSET_FROM_NV (OS_FLASH_RO_OFFSET_FROM_NV + OS_FLASH_RO_NVRAM_SIZE) /* ÏÞÖÆ¶ÁÐ´ÇøÆ«ÒÆ */
#define OS_FLASH_ROW_NVRAM_SIZE (512 * 1024)
/************************************
lock net config---32KB
*************************************/
#define OS_FLASH_LOCKNET_ROW_OFFSET_FROM_NV (OS_FLASH_ROW_OFFSET_FROM_NV)
#define OS_FLASH_LOCKNET_ROW_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_LOCKNET_ROW_OFFSET_FROM_NV)
#define OS_FLASH_LOCKNET_ROW_SIZE (32 * 1024)
/************************************
c0 caliinfo---4KB
*************************************/
#define OS_FLASH_C0CALIINFO_ROW_OFFSET_FROM_NV (OS_FLASH_LOCKNET_ROW_OFFSET_FROM_NV + OS_FLASH_LOCKNET_ROW_SIZE)
#define OS_FLASH_C0CALIINFO_ROW_BASE_ADDR (OS_FLASH_NV_PARTITION_BASE_ADDR + OS_FLASH_C0CALIINFO_ROW_OFFSET_FROM_NV)
#define OS_FLASH_C0CALIINFO_ROW_SIZE (4 * 1024)
#endif