2017-09-21 13:13:01 +02:00
|
|
|
#ifndef _E300_PLAT_MAP_H_
|
|
|
|
#define _E300_PLAT_MAP_H_
|
2017-11-10 22:40:24 +01:00
|
|
|
// need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191
|
|
|
|
const std::array<scc::target_memory_map_entry<32>, 10> e300_plat_map = {{
|
2017-10-04 10:31:11 +02:00
|
|
|
{&i_clint, 0x2000000, 0xc000},
|
|
|
|
{&i_plic, 0xc000000, 0x200008},
|
|
|
|
{&i_aon, 0x10000000, 0x150},
|
|
|
|
{&i_prci, 0x10008000, 0x14},
|
2017-11-10 22:40:24 +01:00
|
|
|
{&i_gpio0, 0x10012000, 0x44},
|
2017-10-04 10:31:11 +02:00
|
|
|
{&i_uart0, 0x10013000, 0x1c},
|
2017-11-10 22:40:24 +01:00
|
|
|
{&i_qspi0, 0x10014000, 0x78},
|
2017-10-04 10:31:11 +02:00
|
|
|
{&i_uart1, 0x10023000, 0x1c},
|
2017-11-10 22:40:24 +01:00
|
|
|
{&i_qspi1, 0x10024000, 0x78},
|
|
|
|
{&i_qspi2, 0x10034000, 0x78},
|
2017-09-21 13:13:01 +02:00
|
|
|
}};
|
|
|
|
|
|
|
|
#endif /* _E300_PLAT_MAP_H_ */
|