Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __LS1012ARDB_H__ |
| 8 | #define __LS1012ARDB_H__ |
| 9 | |
| 10 | #include "ls1012a_common.h" |
| 11 | |
Shengzhou Liu | cb7fb12 | 2016-08-26 18:30:39 +0800 | [diff] [blame] | 12 | /* DDR */ |
Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 13 | #define CONFIG_DIMM_SLOTS_PER_CTLR 1 |
| 14 | #define CONFIG_CHIP_SELECTS_PER_CTRL 1 |
| 15 | #define CONFIG_NR_DRAM_BANKS 2 |
| 16 | #define CONFIG_SYS_SDRAM_SIZE 0x20000000 |
Shengzhou Liu | cb7fb12 | 2016-08-26 18:30:39 +0800 | [diff] [blame] | 17 | #define CONFIG_CHIP_SELECTS_PER_CTRL 1 |
Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 18 | #define CONFIG_CMD_MEMINFO |
| 19 | #define CONFIG_CMD_MEMTEST |
| 20 | #define CONFIG_SYS_MEMTEST_START 0x80000000 |
| 21 | #define CONFIG_SYS_MEMTEST_END 0x9fffffff |
| 22 | |
| 23 | /* |
| 24 | * USB |
| 25 | */ |
| 26 | #define CONFIG_HAS_FSL_XHCI_USB |
| 27 | |
| 28 | #ifdef CONFIG_HAS_FSL_XHCI_USB |
Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 29 | #define CONFIG_USB_XHCI_FSL |
Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 30 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
| 31 | #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 |
Prabhakar Kushwaha | 9e7ee7b | 2016-06-03 18:41:36 +0530 | [diff] [blame] | 32 | #endif |
| 33 | |
| 34 | #define CONFIG_CMD_MEMINFO |
| 35 | #define CONFIG_CMD_MEMTEST |
| 36 | #define CONFIG_SYS_MEMTEST_START 0x80000000 |
| 37 | #define CONFIG_SYS_MEMTEST_END 0x9fffffff |
| 38 | |
| 39 | #endif /* __LS1012ARDB_H__ */ |