;/*****************************************************************************
;*  Copyright Statement:
;*  --------------------
;*  This software is protected by Copyright and the information contained
;*  herein is confidential. The software may not be copied and the information
;*  contained herein may not be used or disclosed except with the written
;*  permission of MediaTek Inc. (C) 2005
;*
;*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
;*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
;*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
;*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
;*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
;*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
;*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
;*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
;*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
;*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
;*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
;*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
;*
;*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
;*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
;*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
;*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
;*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
;*
;*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
;*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
;*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
;*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
;*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
;*
;*****************************************************************************/
;
;/*******************************************************************************
; *
; * Filename:
; * ---------
; *	scatmt6228.txt
; *
; * Project:
; * --------
; *   Maui_Software
; *
; * Description:
; * ------------
; *   This Module defines the memory map for the validation board
; *
; * Author:
; * -------
; *	Shalyn Chua
; *
; * Last modified Date:
; * -------
; *   2005/04/07
; *
; *******************************************************************************/

ROM 0x00 0x600000
{
    ROM 0x00 FIXED 0x400000
    {
         bootarm.obj                   (C$$code,+First)         
         *.obj                         (LEADING_PART,+First)       
         *.l                           (+RO)
         *bmt.lib                      (+RO)         
         *adaptation.lib               (+RO)
         *config.lib                   (+RO)
         *custom.lib                   (+RO)
         *drv.lib                      (+RO)
         *fdm.lib                      (+RO)         
         *init.lib                     (+RO)
         *kal.lib                      (+RO)
         *l1_classb.lib                (+RO)
         *nucleus.lib                  (+RO)
         *nucleus_int.lib              (+RO)
         *nucleus_debug.lib            (+RO)
         *stacklib.lib                 (+RO)
         *sst.lib                      (+RO)
         *tst.lib                      (+RO)
         *plutommi.lib                 (+RO)
         *mtkapp.lib                   (+RO)
         *usb.lib                      (+RO)
         *j2me_hi.lib                  (+RO)
         
         ;*media.lib                   (+RO)
         visual_comm.obj               (+RO)
         visualhisr.obj                (+RO)
         img_comm.obj                  (+RO)
         imgdma.obj                    (+RO)
         gif_decoder_v2.obj            (+RO)
         png_decoder.obj               (+RO)         
         imgproc.obj                   (+RO)
         2d_engine.obj                 (+RO)
                   
         ; *mmiresource.lib            (+RO)
         custNFBProgressImg.obj        (+RO)
         gui_wrapper.obj               (+RO)           
    }                                  
    PRIMARY_EXTSRAM 0x400000 FIXED 0x200000              
    { 
         *.l                           (+RW)
         *bmt.lib                      (+RW)         
         *adaptation.lib               (+RW)
         *config.lib                   (+RW)
         *custom.lib                   (+RW)
         *drv.lib                      (+RW)
         *fdm.lib                      (+RW)         
         *init.lib                     (+RW)
         *kal.lib                      (+RW)
         *l1_classb.lib                (+RW)
         *nucleus.lib                  (+RW)
         *nucleus_int.lib              (+RW)
         *nucleus_debug.lib            (+RW)
         *stacklib.lib                 (+RW)
         *sst.lib                      (+RW)
         *tst.lib                      (+RW)
         *plutommi.lib                 (+RW)
         *mtkapp.lib                   (+RW)         
         *usb.lib                      (+RW)
         *j2me_hi.lib                  (+RW)
         
         ;*media.lib                   (+RW)
         visual_comm.obj               (+RW)
         visualhisr.obj                (+RW)
         img_comm.obj                  (+RW)
         imgdma.obj                    (+RW)     
         gif_decoder_v2.obj            (+RW)
         png_decoder.obj               (+RW)
         imgproc.obj                   (+RW)
         2d_engine.obj                 (+RW)
         
         ; *mmiresource.lib            (+RW)
         custNFBProgressImg.obj        (+RW)
         gui_wrapper.obj               (+RW)  
    }    
    INTSRAM_CODE 0xA0000000 0x00012000
    {         
         isrentry.obj (INTERNCODE)
         custom_emi.obj (INTERNCODE)
         cache.obj (INTERNCODE)
         data_buff_pool.obj (INTERNCODE)         
         ctrl_buff_pool.obj (INTERNCODE)
         stack_buff_pool.obj (INTERNCODE)
         stack_ltlcom.obj (INTERNCODE)
         kal_nucleus_buff_mgr.obj (INTERNCODE)
         kal_nucleus_evshed_buff_mgr.obj (INTERNCODE)
         kal_nucleus_itc.obj (INTERNCODE)
         kal_nucleus_timer.obj (INTERNCODE)
         lcd_dll.obj (INTERNCODE)
         event_shed.obj (INTERNCODE)
         stack_timer.obj (INTERNCODE)         
         *nucleus_ctrl_code.lib (+RO)
         mpal_gprs_common_func.obj (INTERNCODE)
         mpal_gprs_dl_msg_hdlr.obj (INTERNCODE)
         m11194.obj (INTERNCODE)
         m11191.obj (INTERNCODE)
         l1d_data.obj (INTERNCODE)
         l1d_internal_data.obj (INTERNCODE)
         m12110.obj (INTERNCODE)
         m12120.obj (INTERNCODE)
         m12160.obj (INTERNCODE)
         m12170.obj (INTERNCODE)
         m12168.obj (INTERNCODE)
         m12180.obj (INTERNCODE)                  
         m11303.obj (INTERNCODE)
         m11305.obj (INTERNCODE)         
         m12194.obj (INTERNCODE)                  
         ait102n.obj (INTERNCODE)
; WAVE can be removed from TCM on MT6228 (104MHz clock) platforms
         ;wav.obj (INTERNCODE)
         ;wav_codec.obj (INTERNCODE)
         ;divider.obj (+RO)			
         L1Trc.obj (INTERNCODE)
         uart.obj (INTERNCODE)
         gdi_image_gif.obj (INTERNCODE)
         gdi_bytestream.obj (INTERNCODE)	
         gdi_image_direct_gif.obj (INTERNCODE)
         gdi_mutex.obj (INTERNCODE)
         file62.o (INTERNCODE)
         file12.o (INTERNCODE)
         file71.o (INTERNCODE) 
         idle_task.obj (INTERNCODE)
         bootarm.obj (INTERNCODE)
    }
    INTSRAM_DATA 0xA0012000 0x00009000
    {
         bootarm.obj (STACK_POOL_INTSRAM)
         isrentry.obj (INTERNCONST, INTERNRW, INTERNZI)
         stack_init.obj (INTERNCONST, INTERNRW, INTERNZI)
         ctrl_buff_pool.obj (INTERNCONST, INTERNRW, INTERNZI)
         stack_ltlcom.obj (INTERNCONST, INTERNRW, INTERNZI)
         tst*.obj (INTERNCONST, INTERNRW, INTERNZI)         
         *nucleus_critical_data.lib (+RW, +ZI)
         *nucleus_ctrl_code.lib (+RW, +ZI)
         mpal_gprs_common_func.obj (INTERNCONST, INTERNRW, INTERNZI)
         mpal_gprs_dl_msg_hdlr.obj (INTERNCONST, INTERNRW, INTERNZI)
         m11194.obj (INTERNCONST, INTERNRW, INTERNZI)
         m11191.obj (INTERNCONST, INTERNRW, INTERNZI)
         l1d_data.obj (INTERNCONST, INTERNRW, INTERNZI)
         l1d_internal_data.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12110.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12120.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12160.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12170.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12168.obj (INTERNCONST, INTERNRW, INTERNZI)
         m12180.obj (INTERNCONST, INTERNRW, INTERNZI)                  
         m11303.obj (INTERNCONST, INTERNRW, INTERNZI)
         m11305.obj (INTERNCONST, INTERNRW, INTERNZI)         
         m12194.obj (INTERNCONST, INTERNRW, INTERNZI)                  
         L1Trc.obj (INTERNCONST, INTERNRW, INTERNZI)
         gdi_image.obj (INTERNCONST, INTERNRW, INTERNZI)
         gdi_bytestream.obj (INTERNCONST, INTERNRW, INTERNZI)
         gdi.obj (INTERNZI)         
; WAVE can be removed from TCM on MT6228 (104MHz clock) platforms
         ;wav.obj (INTERNCONST, INTERNRW, INTERNZI)
         ;wav_codec.obj (INTERNCONST, INTERNRW, INTERNZI)
         interpret.obj(INTERNZI)
         file71.o (INTERNCONST, INTERNRW, INTERNZI)
    }   
    DYNAMIC_CODE1 0xA001B000 OVERLAY 0x5000
    {
       * (AMR515_DYNAMIC_CODE, AMR515_DYNAMIC_ZI)
    }
    DYNAMIC_CODE2 0xA001B000 OVERLAY 0x5000
    {
       * (G3D_DYNAMIC_CODE, G3D_DYNAMIC_ZI)
    }
    DYNAMIC_CODE3 0xA001B000 OVERLAY 0x5000
    {
       * (CTM_DYNAMIC_CODE, CTM_DYNAMIC_ZI)
    }
    DYNAMIC_CODE4 0xA001B000 OVERLAY 0x5000
    {
       * (G729_DYNAMIC_CODE, G729_DYNAMIC_ZI)
    }
    DYNAMIC_CODE5 0xA001B000 OVERLAY 0x5000
    {
       * (SBC_DYNAMIC_CODE, SBC_DYNAMIC_ZI)
    }
    INTSRAM_MULTIMEDIA 0x40000000 0x00020000
    {
         ae_awb.obj (INTERNRW1, INTERNZI1)          
         isp_comm.obj (INTERNRW1, INTERNZI1) 
         med_main.obj (INTERNRW1, INTERNZI1) 
    } 
}

SECONDARY_ROM 0x600000 0x1100000
{
    SECONDARY_ROM 0x600000 0x400000
    {      
         .ANY (+RO-CODE)
    }
    ROM2 +0x0 0x400000
    {
         .ANY (+RO-DATA)
    }
    ROM3 +0x0 0x400000
    {
         .ANY (+RO-DATA)
    }
    ROM4 +0x0 0x400000
    {
         .ANY (+RO-DATA)
    }
    ROM5 +0x0 0x110000
    {
         .ANY (+RO-DATA)
    }
    SECONDARY_EXTSRAM_LARGEPOOL_NORMAL 0x1700000
    {
;JAVA heap always at the first, specified in option.mak
         j2me_custom_resource.obj (JAVA_ALIGN_ZI, LARGEPOOL_ZI)
         med_main.obj (LARGEPOOL_ZI)         
         ScrMemMgr.obj (LARGEPOOL_ZI)                  
    }
    SECONDARY_EXTSRAM +0x00 
    {
         * (+RW, +ZI)
    }   
    DUMMY_END 0x2000000 0x04
    {
         bootarm.obj (DUMMY_POOL)
    }
}
