blob: 7d8921f24ebab23d58e0260ab6e34e8d202761ff [file] [log] [blame]
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +05301
Chander Kashyap0aee53b2012-02-05 23:01:47 +00002/*
Hatim RV540b5af2012-12-11 00:52:48 +00003 * Copyright (C) 2012 Samsung Electronics
Chander Kashyap0aee53b2012-02-05 23:01:47 +00004 *
Hatim RV540b5af2012-12-11 00:52:48 +00005 * Configuration settings for the SAMSUNG EXYNOS5250 board.
Chander Kashyap0aee53b2012-02-05 23:01:47 +00006 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Chander Kashyap0aee53b2012-02-05 23:01:47 +00008 */
9
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053010#ifndef __CONFIG_5250_H
11#define __CONFIG_5250_H
Chander Kashyap0aee53b2012-02-05 23:01:47 +000012
Chander Kashyapad403e72013-07-25 18:28:52 +053013#define CONFIG_EXYNOS5250
Chander Kashyap0aee53b2012-02-05 23:01:47 +000014
Chander Kashyap0aee53b2012-02-05 23:01:47 +000015#define CONFIG_SYS_SDRAM_BASE 0x40000000
16#define CONFIG_SYS_TEXT_BASE 0x43E00000
17
Chander Kashyap0aee53b2012-02-05 23:01:47 +000018/* MACH_TYPE_SMDK5250 macro will be removed once added to mach-types */
19#define MACH_TYPE_SMDK5250 3774
20#define CONFIG_MACH_TYPE MACH_TYPE_SMDK5250
21
Akshay Saraswatd2fe10f2014-06-18 17:54:00 +053022#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
23
Rajeshwari Shinde78fbcc92012-07-03 20:02:53 +000024#define CONFIG_SPL_TEXT_BASE 0x02023400
Rajeshwari Shinde78fbcc92012-07-03 20:02:53 +000025
Chander Kashyap0aee53b2012-02-05 23:01:47 +000026#define CONFIG_IRAM_STACK 0x02050000
27
Rajeshwari Shinde643be9c2013-07-04 12:29:17 +053028#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
Chander Kashyap0aee53b2012-02-05 23:01:47 +000029
Simon Glassbf637ea2015-08-03 08:19:29 -060030/* USB */
31#define CONFIG_USB_EHCI
32#define CONFIG_USB_EHCI_EXYNOS
Simon Glass23b479b2012-12-05 14:46:45 +000033
Simon Glassbf637ea2015-08-03 08:19:29 -060034#define CONFIG_USB_HOST_ETHER
35#define CONFIG_USB_ETHER_ASIX
36#define CONFIG_USB_ETHER_ASIX88179
Michael Pratt0cf7e182014-06-18 17:54:02 +053037
38/* DRAM Memory Banks */
39#define CONFIG_NR_DRAM_BANKS 8
40#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
41
Rajeshwari Birje76dd9b62013-12-26 09:44:26 +053042#endif /* __CONFIG_5250_H */