drv_reserve_mmap_8506.h 1010 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _DRV_RESERV_MMAP_8506_H_
  2. #define _DRV_RESERV_MMAP_8506_H_
  3. #if (CONFIG_DRAMSIZE == 64 ) //8506 8506T
  4. /* please fill reserve memory size here */
  5. #define RMEM_START_ADDR RMEM_MPEG_START_ADDR-RMEM_DTV_VBV-RMEM_DTV_VIP-RMEM_BLT-ADD_OSD_COMPRESS_SIZE-RMEM_DTV_OSDLIB-RMEM_DTV_AUDIO
  6. #define RMEM_MPEG_START_ADDR 0x02200000 //Need 2MB align
  7. #define RMEM_BLT 0x00270000
  8. #define RMEM_VIP 0x003c0000
  9. #ifdef CONFIG_SUPPORT_DOLBY_AUDIO
  10. #define RMEM_VBV 0x00480000 // For Dolby_test_stream
  11. #else
  12. #define RMEM_VBV 0x00400000
  13. #endif
  14. #define RMEM_MIR 0x00000000
  15. #define RMEM_MPEG 0x01a36000
  16. #define RMEM_DEMOD 0x00200000
  17. #define RMEM_PVR 0x00000000
  18. #define RMEM_POOL 0x00200000
  19. #define RMEM_RUNAV 0x00000000
  20. #define RMEM_DIO 0x00000000
  21. #define RMEM_RMRTEST 0x00200000
  22. #ifdef CONFIG_AUDIO_16_BIT_MEMORY
  23. #define RMEM_AUDIO 0x0013e000
  24. #else
  25. #define RMEM_AUDIO 0x001a4000 //0x00152000
  26. #endif
  27. #endif
  28. #endif // _DRV_RESERV_MMAP_8506_H_