/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */
#ifndef __ADDR_MAP_H__
#define __ADDR_MAP_H__

/* Well-known addresses in RVL */

#define IOP_GDDR3_START         0x13400000
#define IOP_GDDR3_CACHED_START  0x13500000
#define IOP_GDDR3_END           0x14000000

/* DI dma space */
#define DI_DMA_SP_START	0x13400000 
#define DI_DMA_SP_END   0x13420000
#define DI_DMA_SP_SIZE  0x20000

/* Kernel Data */
#define KERNEL_DATA_START   0x13420000
#define KERNEL_DATA_END     0x13440000

/* Reserved space. Only used by boot1. So overlap
 * with iobuf space OK.
 */
#define RSVD_SP_START	0x13420000
#define RSVD_SP_END		0x13440000

/* USB dma space  */
#define OH0_SP_START	0x13440000
#define OH0_SP_END      0x13450000
#define OH1_SP_START	0x13450000
#define OH1_SP_END      0x13460000
#define EHC_SP_START	0x13460000
#define EHC_SP_END      0x13470000

/* USB code space */
#define OH0_TXT_SP_START  0x13470000
#define OH0_TXT_SP_END    0x13480000

#define OH1_TXT_SP_START  0x13480000
#define OH1_TXT_SP_END    0x13490000

#define EHC_TXT_SP_START  0x13490000
#define EHC_TXT_SP_END    0x134b0000

/* PPC boot */
#define PPCBOOT_SP_START   0x134b0000
#define PPCBOOT_SP_END	   0x134c0000

/* Shared Data */
#define SHARED_SP_START		0x134c0000
#define SHARED_SP_END		0x13540000
#define SHARED_SP_SIZE		0x80000

/* DI space */
#define DI_SP_START 	0x13540000
#define DI_SP_END       0x135c0000

/* NET space */
#define NET_SP_START	0x135c0000
#define NET_SP_END      0x13640000

/* USBETH space */
#define USBETH_SP_START	 0x13640000
#define USBETH_SP_END    0x13660000

/* SD0 space */
#define SD0_SP_START	0x13660000
#define SD0_SP_END    0x13680000

/* File system */
#define FS_SP_START	    0x13680000
#define FS_SP_END		0x13700000

/* eTicket system */
#define ES_SP_START	    0x13700000
#define ES_SP_END		0x13790000

/* Crypto space */
#define CRYPTO_SP_START	    0x13790000
#define CRYPTO_SP_END       0x13810000

/* OSLaunch space */
#define OSLAUNCH_SP_START	    0x13810000
#define OSLAUNCH_SP_END        0x13a90000

/* Application space */
#define APP_SP_START    	0x13a90000
#define APP_SP_END		    0x13cc0000

/* Iobuf pool0 space */
#define IOBUF0_SP_START	0x13cc0000
#define IOBUF0_SP_END   0x13d40000

/* STM space */
#define STM_SP_START	0x13d40000
#define STM_SP_END    0x13d60000

/* NCD space */
#define NCD_SP_START	0x13d60000
#define NCD_SP_END    0x13da0000

/* KD space */
#define KD_SP_START	  0x13da0000
#define KD_SP_END     0x13e20000

/* WD space */
#define WD_SP_START	   0x13e20000
#define WD_SP_END      0x13e40000

/* WL space */
#define WL_SP_START    	0x13e40000
#define WL_SP_END		0x14000000
#endif /* __ADDR_MAP_H__ */
