Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <asm/tlb.h>
#include <asm/cacheflush.h>
#include <asm/mach/map.h>
#include <plat/sram.h>
#include <plat/cpu.h>
#include "sram.h"
#include "../mach-omap2/iomap.h"
#include "../mach-omap2/prm2xxx_3xxx.h"
#include "../mach-omap2/sdrc.h"
Go to the source code of this file.
Macros | |
#define | OMAP1_SRAM_PA 0x20000000 |
#define | OMAP2_SRAM_PUB_PA (OMAP2_SRAM_PA + 0xf800) |
#define | OMAP3_SRAM_PUB_PA (OMAP3_SRAM_PA + 0x8000) |
#define | OMAP4_SRAM_PUB_PA (OMAP4_SRAM_PA + 0x4000) |
#define | OMAP5_SRAM_PA 0x40300000 |
#define | SRAM_BOOTLOADER_SZ 0x80 |
#define | OMAP24XX_VA_REQINFOPERM0 OMAP2_L3_IO_ADDRESS(0x68005048) |
#define | OMAP24XX_VA_READPERM0 OMAP2_L3_IO_ADDRESS(0x68005050) |
#define | OMAP24XX_VA_WRITEPERM0 OMAP2_L3_IO_ADDRESS(0x68005058) |
#define | OMAP34XX_VA_REQINFOPERM0 OMAP2_L3_IO_ADDRESS(0x68012848) |
#define | OMAP34XX_VA_READPERM0 OMAP2_L3_IO_ADDRESS(0x68012850) |
#define | OMAP34XX_VA_WRITEPERM0 OMAP2_L3_IO_ADDRESS(0x68012858) |
#define | OMAP34XX_VA_ADDR_MATCH2 OMAP2_L3_IO_ADDRESS(0x68012880) |
#define | OMAP34XX_VA_SMS_RG_ATT0 OMAP2_L3_IO_ADDRESS(0x6C000048) |
#define | GP_DEVICE 0x300 |
#define | ROUND_DOWN(value, boundary) ((value) & (~((boundary)-1))) |
#define | omap1_sram_init() do {} while (0) |
Functions | |
void * | omap_sram_push_address (unsigned long size) |
int __init | omap_sram_init (void) |
#define OMAP24XX_VA_READPERM0 OMAP2_L3_IO_ADDRESS(0x68005050) |
#define OMAP24XX_VA_REQINFOPERM0 OMAP2_L3_IO_ADDRESS(0x68005048) |
#define OMAP24XX_VA_WRITEPERM0 OMAP2_L3_IO_ADDRESS(0x68005058) |
#define OMAP2_SRAM_PUB_PA (OMAP2_SRAM_PA + 0xf800) |
#define OMAP34XX_VA_ADDR_MATCH2 OMAP2_L3_IO_ADDRESS(0x68012880) |
#define OMAP34XX_VA_READPERM0 OMAP2_L3_IO_ADDRESS(0x68012850) |
#define OMAP34XX_VA_REQINFOPERM0 OMAP2_L3_IO_ADDRESS(0x68012848) |
#define OMAP34XX_VA_SMS_RG_ATT0 OMAP2_L3_IO_ADDRESS(0x6C000048) |
#define OMAP34XX_VA_WRITEPERM0 OMAP2_L3_IO_ADDRESS(0x68012858) |
#define OMAP3_SRAM_PUB_PA (OMAP3_SRAM_PA + 0x8000) |
#define OMAP4_SRAM_PUB_PA (OMAP4_SRAM_PA + 0x4000) |