mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Sjoerd Simons](/assets/img/avatar_default.png)
USB is a pretty common feature on exynos 5 board, so it seems sensible to configure it directly from exynos5-common. As a side-effect this makes USB available from u-boot on exynos 5420 based boards. While there enable support for common USB ethernet cards to make it more likely the default config allows booting for network and enable XHCI on SMDK5420 which has it defined in the dts but not in its config. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
|
|
/*
|
|
* Copyright (C) 2012 Samsung Electronics
|
|
*
|
|
* Configuration settings for the SAMSUNG EXYNOS5250 board.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_5250_H
|
|
#define __CONFIG_5250_H
|
|
|
|
#include <configs/exynos5-common.h>
|
|
#define CONFIG_EXYNOS5250
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
|
#define CONFIG_SYS_TEXT_BASE 0x43E00000
|
|
|
|
/* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
|
|
#define MACH_TYPE_SMDK5250 3774
|
|
#define CONFIG_MACH_TYPE MACH_TYPE_SMDK5250
|
|
|
|
#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
|
|
|
|
#define CONFIG_SPL_TEXT_BASE 0x02023400
|
|
|
|
#define CONFIG_IRAM_STACK 0x02050000
|
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
|
|
|
/* PMIC */
|
|
#define CONFIG_POWER_MAX77686
|
|
|
|
/* Sound */
|
|
#define CONFIG_CMD_SOUND
|
|
#ifdef CONFIG_CMD_SOUND
|
|
#define CONFIG_SOUND
|
|
#define CONFIG_I2S_SAMSUNG
|
|
#define CONFIG_I2S
|
|
#define CONFIG_SOUND_MAX98095
|
|
#define CONFIG_SOUND_WM8994
|
|
#endif
|
|
|
|
/* I2C */
|
|
#define CONFIG_MAX_I2C_NUM 8
|
|
|
|
/* Display */
|
|
#define CONFIG_LCD
|
|
#ifdef CONFIG_LCD
|
|
#define CONFIG_EXYNOS_FB
|
|
#define CONFIG_EXYNOS_DP
|
|
#define LCD_BPP LCD_COLOR16
|
|
#endif
|
|
|
|
/* DRAM Memory Banks */
|
|
#define CONFIG_NR_DRAM_BANKS 8
|
|
#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
|
|
|
|
#endif /* __CONFIG_5250_H */
|