- # =========================
- # memory@DRAM_BASE in .dts.
- # =========================
- # Ignore the area of FreeRTOS in u-boot and kernel
- KERNEL_MEMORY_ADDR = DRAM_BASE
- KERNEL_MEMORY_SIZE = DRAM_SIZE - FREERTOS_SIZE
- # =================
- # Multimedia buffer. Used by u-boot/kernel/FreeRTOS
- # =================
- ION_SIZE = 26.80078125 * SIZE_1M
- H26X_BITSTREAM_SIZE = 0 * SIZE_1M
- H26X_ENC_BUFF_SIZE = 0
- ISP_MEM_BASE_SIZE = 0 * SIZE_1M
- BOOTLOGO_SIZE = 0 * SIZE_1M
- FREERTOS_RESERVED_ION_SIZE = H26X_BITSTREAM_SIZE + H26X_ENC_BUFF_SIZE + ISP_MEM_BASE_SIZE + BOOTLOGO_SIZE
- # ION after FreeRTOS
- ION_ADDR = FREERTOS_ADDR - ION_SIZE
- # Buffers of the fast image are inside the ION buffer