2
This program is free software; you can redistribute it and/or modify
3
it under the terms of the GNU General Public License as published by
4
the Free Software Foundation; either version 2, or (at your option)
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License along
13
with this program; if not, write to the Free Software Foundation, Inc.,
14
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17
* 12/06/2007 Michael.Kang <blackfin.kang@gmail.com>
20
#ifndef __PPC_MEMORY_H__
21
#define __PPC_MEMORY_H__
23
//byte boot_rom[8 * 1024 * 1024];/* default 8M boot rom for e500 core */
24
#define INIT_RAM_SIZE 0x4000
25
byte * init_ram; /* 16k init ram for 8560 */
26
byte * boot_rom; /* default 8M bootrom for 8560 */
27
byte * ddr_ram; /* 64M DDR SDRAM */
28
unsigned long init_ram_start_addr, init_ram_size;
30
uint32 boot_rom_start_addr;
31
#define DEFAULT_BOOTROM_SIZE (8 * 1024 * 1024)
32
#define DDR_RAM_SIZE (16 * 1024 * 1024)