mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 16:38:53 +09:00
![Tom Rini](/assets/img/avatar_default.png)
The code had assumed 4 CPUS before and now we have this configurable. For now, set this to the previous default. Cc: Chander Kashyap <k.chander@samsung.com> Cc: Steve Rae <steve.rae@raedomain.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
62 lines
1.3 KiB
C
62 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2013 Samsung Electronics
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Configuration settings for the SAMSUNG Arndale board.
|
|
*/
|
|
|
|
#ifndef __CONFIG_ARNDALE_H
|
|
#define __CONFIG_ARNDALE_H
|
|
|
|
#define EXYNOS_FDTFILE_SETTING \
|
|
"fdtfile=exynos5250-arndale.dtb\0"
|
|
|
|
#include "exynos5250-common.h"
|
|
#include <configs/exynos5-common.h>
|
|
|
|
/* SD/MMC configuration */
|
|
#define CONFIG_SUPPORT_EMMC_BOOT
|
|
|
|
/* allow to overwrite serial and ethaddr */
|
|
#define CONFIG_ENV_OVERWRITE
|
|
|
|
/* MMC SPL */
|
|
#define CONFIG_EXYNOS_SPL
|
|
|
|
/* Miscellaneous configurable options */
|
|
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
|
|
|
|
#define CONFIG_IDENT_STRING " for ARNDALE"
|
|
|
|
#define CONFIG_ENV_IS_IN_MMC
|
|
#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
|
|
|
|
#define CONFIG_IRAM_STACK 0x02050000
|
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
|
|
|
/* PMIC */
|
|
#define CONFIG_POWER
|
|
#define CONFIG_PMIC
|
|
#define CONFIG_POWER_I2C
|
|
|
|
#define CONFIG_PREBOOT
|
|
|
|
#define CONFIG_S5P_PA_SYSRAM 0x02020000
|
|
#define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM
|
|
#define CONFIG_ARMV7_PSCI_NR_CPUS 4
|
|
|
|
/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
|
|
#define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000
|
|
|
|
/* CPU Errata */
|
|
#define CONFIG_ARM_ERRATA_773022
|
|
#define CONFIG_ARM_ERRATA_774769
|
|
|
|
/* Power */
|
|
#define CONFIG_POWER
|
|
#define CONFIG_POWER_I2C
|
|
|
|
#endif /* __CONFIG_H */
|