blob: 89ba14e05dd86f42a6176e99622a413754a00171 [file] [log] [blame]
Piotr Wilczek942d0a92014-03-07 14:59:43 +01001/*
2 * Copyright (C) 2014 Samsung Electronics
3 *
4 * Configuration settings for the SAMSUNG EXYNOS5 board.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
Simon Glassbe165002014-10-07 22:01:44 -06009#ifndef __CONFIG_EXYNOS4_COMMON_H
10#define __CONFIG_EXYNOS4_COMMON_H
Piotr Wilczek942d0a92014-03-07 14:59:43 +010011
Simon Glass14e27ab2014-10-07 22:01:45 -060012#define CONFIG_EXYNOS4 /* Exynos4 Family */
Piotr Wilczek942d0a92014-03-07 14:59:43 +010013
Simon Glass14e27ab2014-10-07 22:01:45 -060014#include "exynos-common.h"
Piotr Wilczek942d0a92014-03-07 14:59:43 +010015
Simon Glass50dfd2c2014-10-07 22:01:48 -060016#define CONFIG_BOARD_COMMON
17
Piotr Wilczek942d0a92014-03-07 14:59:43 +010018#define CONFIG_SYS_CACHELINE_SIZE 32
Piotr Wilczek942d0a92014-03-07 14:59:43 +010019#define CONFIG_REVISION_TAG
Piotr Wilczek942d0a92014-03-07 14:59:43 +010020
21/* SD/MMC configuration */
Piotr Wilczek942d0a92014-03-07 14:59:43 +010022#define CONFIG_MMC_SDMA
23#define CONFIG_MMC_DEFAULT_DEV 0
24
Piotr Wilczek942d0a92014-03-07 14:59:43 +010025#undef CONFIG_CMD_FPGA
26#undef CONFIG_CMD_MISC
27#undef CONFIG_CMD_NET
28#undef CONFIG_CMD_NFS
29#undef CONFIG_CMD_XIMG
Piotr Wilczek942d0a92014-03-07 14:59:43 +010030#undef CONFIG_CMD_ONENAND
31#undef CONFIG_CMD_MTDPARTS
Piotr Wilczek942d0a92014-03-07 14:59:43 +010032#define CONFIG_CMD_DFU
33#define CONFIG_CMD_GPT
34#define CONFIG_CMD_PMIC
35#define CONFIG_CMD_SETEXPR
36
Piotr Wilczek942d0a92014-03-07 14:59:43 +010037/* USB Composite download gadget - g_dnl */
38#define CONFIG_USBDOWNLOAD_GADGET
39
40/* TIZEN THOR downloader support */
41#define CONFIG_CMD_THOR_DOWNLOAD
42#define CONFIG_THOR_FUNCTION
43
44#define CONFIG_DFU_FUNCTION
45#define CONFIG_DFU_MMC
46#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
47#define DFU_DEFAULT_POLL_TIMEOUT 300
48
49/* USB Samsung's IDs */
50#define CONFIG_G_DNL_VENDOR_NUM 0x04E8
51#define CONFIG_G_DNL_PRODUCT_NUM 0x6601
52#define CONFIG_G_DNL_THOR_VENDOR_NUM CONFIG_G_DNL_VENDOR_NUM
53#define CONFIG_G_DNL_THOR_PRODUCT_NUM 0x685D
Lukasz Majewskicb7ff442014-07-29 11:10:44 +020054#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525
55#define CONFIG_G_DNL_UMS_PRODUCT_NUM 0xA4A5
Piotr Wilczek942d0a92014-03-07 14:59:43 +010056#define CONFIG_G_DNL_MANUFACTURER "Samsung"
57
Piotr Wilczek942d0a92014-03-07 14:59:43 +010058#define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 2 sectors */
59
Piotr Wilczek942d0a92014-03-07 14:59:43 +010060#define CONFIG_USB_GADGET
61#define CONFIG_USB_GADGET_S3C_UDC_OTG
62#define CONFIG_USB_GADGET_DUALSPEED
63#define CONFIG_USB_GADGET_VBUS_DRAW 2
Piotr Wilczek942d0a92014-03-07 14:59:43 +010064
65#define CONFIG_CMD_USB_MASS_STORAGE
66#define CONFIG_USB_GADGET_MASS_STORAGE
67
Simon Glassbe165002014-10-07 22:01:44 -060068#endif /* __CONFIG_EXYNOS4_COMMON_H */