Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Marek Vasut <marex@denx.de> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | #ifndef __CONFIGS_SANSA_FUZE_PLUS_H__ |
| 7 | #define __CONFIGS_SANSA_FUZE_PLUS_H__ |
| 8 | |
| 9 | /* System configurations */ |
| 10 | #define CONFIG_MX23 /* i.MX23 SoC */ |
| 11 | |
| 12 | /* U-Boot Commands */ |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 13 | |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 14 | /* Memory configuration */ |
| 15 | #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ |
| 16 | #define PHYS_SDRAM_1 0x40000000 /* Base address */ |
| 17 | #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ |
| 18 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
| 19 | |
| 20 | /* Environment */ |
| 21 | #define CONFIG_ENV_SIZE (16 * 1024) |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 22 | #define CONFIG_ENV_OVERWRITE |
| 23 | |
| 24 | /* Booting Linux */ |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 25 | #define CONFIG_BOOTFILE "uImage" |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 26 | #define CONFIG_LOADADDR 0x42000000 |
| 27 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR |
| 28 | |
| 29 | /* LCD */ |
| 30 | #ifdef CONFIG_VIDEO |
| 31 | #define CONFIG_VIDEO_FONT_4X6 |
| 32 | #define CONFIG_VIDEO_MXS_MODE_SYSTEM |
| 33 | #define CONFIG_SYS_BLACK_IN_WRITE |
| 34 | #define LCD_BPP LCD_COLOR16 |
| 35 | #endif |
| 36 | |
| 37 | /* USB */ |
| 38 | #ifdef CONFIG_CMD_USB |
| 39 | #define CONFIG_EHCI_MXS_PORT0 |
| 40 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
| 41 | |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 42 | #define CONFIG_USB_ETHER |
| 43 | #define CONFIG_USB_ETH_CDC |
| 44 | #define CONFIG_NETCONSOLE |
| 45 | #endif |
| 46 | |
| 47 | /* The rest of the configuration is shared */ |
| 48 | #include <configs/mxs.h> |
| 49 | |
| 50 | #endif /* __CONFIGS_SANSA_FUZE_PLUS_H__ */ |