| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
#include <common/bl_common.h> |
| 9 |
|
| 10 |
#include <io_addr_dec.h> |
| 11 |
#include <mvebu_def.h> |
| 12 |
|
| 13 |
struct dec_win_config io_dec_win_conf[] = { |
| 14 |
|
| 15 |
{0xc000, 0x3d, 2, 0, 0x08}, |
| 16 |
{0xc100, 0x3d, 3, 0, 0x10}, |
| 17 |
{0xc200, 0x3d, 2, 0, 0x10}, |
| 18 |
{0xc300, 0x3d, 2, 0, 0x10}, |
| 19 |
{0xc400, 0x3d, 2, 0, 0x10}, |
| 20 |
{0xc500, 0x3d, 2, 0, 0x10}, |
| 21 |
{0xc800, 0x3d, 3, 0, 0x10}, |
| 22 |
{0xca00, 0x3d, 3, 0, 0x08}, |
| 23 |
{0xcb00, 0x3d, 3, 0, 0x10}, |
| 24 |
{0xce00, 0x3d, 2, 0, 0x08}, |
| 25 |
}; |
| 26 |
|
| 27 |
int marvell_get_io_dec_win_conf(struct dec_win_config **win, uint32_t *size) |
| 28 |
{ |
| 29 |
*win = io_dec_win_conf; |
| 30 |
*size = sizeof(io_dec_win_conf)/sizeof(struct dec_win_config); |
| 31 |
|
| 32 |
return 0; |
| 33 |
} |
| 34 |
|