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 */ |
| 13 | #define CONFIG_SYS_NO_FLASH |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 14 | #define CONFIG_DISPLAY_CPUINFO |
| 15 | #define CONFIG_DOS_PARTITION |
| 16 | |
| 17 | #define CONFIG_CMD_CACHE |
| 18 | #define CONFIG_CMD_EXT2 |
| 19 | #define CONFIG_CMD_FAT |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 20 | #define CONFIG_CMD_MMC |
| 21 | #define CONFIG_CMD_PING |
| 22 | #define CONFIG_CMD_USB |
| 23 | #define CONFIG_VIDEO |
| 24 | #define CONFIG_CMD_MEMTEST |
| 25 | |
| 26 | /* Memory configuration */ |
| 27 | #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ |
| 28 | #define PHYS_SDRAM_1 0x40000000 /* Base address */ |
| 29 | #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ |
| 30 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
| 31 | |
| 32 | /* Environment */ |
| 33 | #define CONFIG_ENV_SIZE (16 * 1024) |
| 34 | #define CONFIG_ENV_IS_NOWHERE |
| 35 | #define CONFIG_ENV_OVERWRITE |
| 36 | |
| 37 | /* Booting Linux */ |
| 38 | #define CONFIG_BOOTDELAY 3 |
| 39 | #define CONFIG_BOOTFILE "uImage" |
| 40 | #define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 " |
| 41 | #define CONFIG_LOADADDR 0x42000000 |
| 42 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR |
| 43 | |
| 44 | /* LCD */ |
| 45 | #ifdef CONFIG_VIDEO |
| 46 | #define CONFIG_VIDEO_FONT_4X6 |
| 47 | #define CONFIG_VIDEO_MXS_MODE_SYSTEM |
| 48 | #define CONFIG_SYS_BLACK_IN_WRITE |
| 49 | #define LCD_BPP LCD_COLOR16 |
| 50 | #endif |
| 51 | |
| 52 | /* USB */ |
| 53 | #ifdef CONFIG_CMD_USB |
| 54 | #define CONFIG_EHCI_MXS_PORT0 |
| 55 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
| 56 | |
Marek Vasut | 9ba8997 | 2014-02-06 02:43:45 +0100 | [diff] [blame] | 57 | #define CONFIG_CI_UDC /* ChipIdea CI13xxx UDC */ |
Marek Vasut | 2988ab2 | 2013-08-31 15:53:46 +0200 | [diff] [blame] | 58 | #define CONFIG_USB_GADGET_DUALSPEED |
| 59 | |
| 60 | #define CONFIG_USB_ETHER |
| 61 | #define CONFIG_USB_ETH_CDC |
| 62 | #define CONFIG_NETCONSOLE |
| 63 | #endif |
| 64 | |
| 65 | /* The rest of the configuration is shared */ |
| 66 | #include <configs/mxs.h> |
| 67 | |
| 68 | #endif /* __CONFIGS_SANSA_FUZE_PLUS_H__ */ |