mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 21:09:00 +09:00
![Tom Rini](/assets/img/avatar_default.png)
We have the following cases: - CONFIG_NR_DRAM_BANKS was defined, migrate normally - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for CONFIG_NR_DRAM_BANKS after a check, just migrate it over now. - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 + 2), set this to 8. Signed-off-by: Tom Rini <trini@konsulko.com>
35 lines
678 B
C
35 lines
678 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
* Copyright (C) 2012 Samsung Electronics
|
|
*
|
|
* Configuration settings for the SAMSUNG EXYNOS5250 board.
|
|
*/
|
|
|
|
#ifndef __CONFIG_5250_H
|
|
#define __CONFIG_5250_H
|
|
|
|
#define CONFIG_EXYNOS5250
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
|
|
|
#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
|
|
|
|
/* USB */
|
|
#define CONFIG_USB_EHCI_EXYNOS
|
|
|
|
#define CONFIG_USB_XHCI_EXYNOS
|
|
|
|
/* DRAM Memory Banks */
|
|
#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
|
|
|
|
#endif /* __CONFIG_5250_H */
|