zynq: move RAM size to board defs
This commit is contained in:
committed by
Christian Helmuth
parent
dc0bfd7008
commit
4e375ec6df
@@ -30,7 +30,6 @@ namespace Zynq {
|
|||||||
|
|
||||||
/* normal RAM */
|
/* normal RAM */
|
||||||
RAM_0_BASE = 0x00000000,
|
RAM_0_BASE = 0x00000000,
|
||||||
RAM_0_SIZE = 0x40000000, /* 1GiB */
|
|
||||||
|
|
||||||
/* AXI */
|
/* AXI */
|
||||||
AXI_0_MMIO_BASE = 0x40000000, /* PL AXI Slave port #0 */
|
AXI_0_MMIO_BASE = 0x40000000, /* PL AXI Slave port #0 */
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ namespace Zynq_qemu {
|
|||||||
using namespace Zynq;
|
using namespace Zynq;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
RAM_0_SIZE = 0x40000000, /* 1GiB */
|
||||||
|
|
||||||
CORTEX_A9_PRIVATE_TIMER_CLK = 100000000,
|
CORTEX_A9_PRIVATE_TIMER_CLK = 100000000,
|
||||||
CORTEX_A9_PRIVATE_TIMER_DIV = 100,
|
CORTEX_A9_PRIVATE_TIMER_DIV = 100,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user