zynq: move RAM size to board defs

This commit is contained in:
Johannes Schlatow
2018-11-13 13:56:18 +01:00
committed by Christian Helmuth
parent dc0bfd7008
commit 4e375ec6df
2 changed files with 2 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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,
}; };