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