blob: b50af05b952ba36da4fe0db7546c287be1b513d1 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2007, ZTE Corporation.
*
* File Name: RONvConfig.h
* File Mark:
* Description: descrip the nv config area,the start address of module
the size is 256k,please use the space between OS_FIRST_NV_ADDRESS_CONFIG and (OS_FIRST_NV_ADDRESS_CONFIG + 256k)
* Others:
* Version: v0.5
* Author: xuxingkui
* Date: 2009-09-30
* History 1:
* Date: 2009-11-24
* Version: V1.0
* Author: xuxingkui
* Modification: modify the driver config space
* History 2:
********************************************************************************/
#ifndef _PUBNVCONFIG_H
#define _PUBNVCONFIG_H
//#include "nandflash.h"
#include "RONvConfig.h"
#if 0
/****************************************************************************
Begin
****************************************************************************/
/************************************
amt area config---part I calibration info-16KB
*************************************/
#define OS_FLASH_AMT_CALIB_RO_OFFSET_FROM_NV 0
#define OS_FLASH_AMT_CALIB_RO_NONFAC_BASE_ADDR (OS_FLASH_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_CALIB_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_CALIB_RO_NONFAC_SIZE 16384 /* 16K */
/************************************
amt area config---part II TDD_LTE&FDD_LTE info-96KB
*************************************/
#define OS_FLASH_AMT_LTE_RO_OFFSET_FROM_NV (OS_FLASH_AMT_CALIB_RO_OFFSET_FROM_NV + OS_FLASH_AMT_CALIB_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_LTE_RO_NONFAC_BASE_ADDR (OS_FLASH_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_LTE_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_LTE_RO_NONFAC_SIZE 98304 /* 96K */
/************************************
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_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_TDS_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_TDS_RO_NONFAC_SIZE 32768 /* 32K */
/************************************
amt area config---part V GGE info-16KB
*************************************/
#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_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_GGE_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_GGE_RO_NONFAC_SIZE 16384/* 16K */
/************************************
amt area config---part VI WiFi info-32KB
*************************************/
#define OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV (OS_FLASH_AMT_GGE_RO_OFFSET_FROM_NV + OS_FLASH_AMT_GGE_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_WIFI_RO_NONFAC_BASE_ADDR (OS_FLASH_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_WIFI_RO_NONFAC_SIZE 32768/* 32K */
/************************************
amt area config---part VII WCDMA info-32KB
*************************************/
#define OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV (OS_FLASH_AMT_WIFI_RO_OFFSET_FROM_NV + OS_FLASH_AMT_WIFI_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_WCDMA_RO_NONFAC_BASE_ADDR (OS_FLASH_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_WCDMA_RO_NONFAC_SIZE 32768/* 32K */
/****************************************************************************
reserved config
****************************************************************************/
/************************************
amt area config---Reserved -32KB
*************************************/
#define OS_FLASH_AMT_RESERVED_RO_OFFSET_FROM_NV (OS_FLASH_AMT_WCDMA_RO_OFFSET_FROM_NV + OS_FLASH_AMT_WCDMA_RO_NONFAC_SIZE)
#define OS_FLASH_AMT_RESERVED_RO_NONFAC_BASE_ADDR (OS_FLASH_ABSOLUTE_WORKAREA_NVRAM_BASE_ADDR + OS_FLASH_AMT_RESERVED_RO_OFFSET_FROM_NV)
#define OS_FLASH_AMT_RESERVED_RO_NONFAC_SIZE 32768/* 32K */
/****************************************************************************
End
****************************************************************************/
#endif
#endif