mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
43581c8338
Since, not every board may have all memory channels configured and all available banks of DMC used, we wish to refactor configs for Memory Bank size and numbers as per board memory config. For Example, Peach-Pit has 2GB memory and will be using only 4 banks but Peach-Pi has 3.5GB memory and will be using all 7 available SDRAM banks. Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
30 lines
709 B
C
30 lines
709 B
C
/*
|
|
* Copyright (C) 2013 Samsung Electronics
|
|
*
|
|
* Configuration settings for the SAMSUNG SMDK5420 board.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_SMDK5420_H
|
|
#define __CONFIG_SMDK5420_H
|
|
|
|
#include <configs/exynos5420-common.h>
|
|
|
|
#define CONFIG_BOARD_COMMON
|
|
|
|
#define CONFIG_SMDK5420 /* which is in a SMDK5420 */
|
|
|
|
|
|
/* select serial console configuration */
|
|
#define CONFIG_SERIAL3 /* use SERIAL 3 */
|
|
|
|
#define CONFIG_SYS_PROMPT "SMDK5420 # "
|
|
#define CONFIG_IDENT_STRING " for SMDK5420"
|
|
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
|
|
|
|
/* DRAM Memory Banks */
|
|
#define CONFIG_NR_DRAM_BANKS 7
|
|
#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
|
|
|
|
#endif /* __CONFIG_SMDK5420_H */
|