fix: various build time errors

This commit is contained in:
d4n1 2021-12-22 18:02:46 +05:00
parent 78d989b26f
commit 60a4dccb0e
6 changed files with 20 additions and 23 deletions

View File

@ -45,6 +45,16 @@ config ARCH_EXYNOS7
Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
multiple SoCs in this family including Exynos7420.
config ARCH_EXYNOS9
bool "Exynos9 SoC family"
select ARM64
select BLK
select DM_MMC
help
Samsung Exynos9 SoC family are based on ARM Cortex-A77 CPU,
Cortex-A73 CPU, Cortex-A55 CPU, Cortex-A53 CPU or Custom Mongoose CPU.
There are multiple SoCs in this family including Exynos8995 and Exynos9820.
endchoice
if ARCH_EXYNOS4
@ -181,25 +191,13 @@ config TARGET_A3Y17LTE
endchoice
endif
config ARCH_EXYNOS9
bool "Exynos9 SoC family"
select ARM64
select BLK
select DM_MMC
help
Samsung Exynos9 SoC family are based on ARM Cortex-A77 CPU,
Cortex-A73 CPU, Cortex-A55 CPU, Cortex-A53 CPU or Custom Mongoose CPU.
There are multiple SoCs in this family including Exynos8995 and Exynos9820.
endchoice
if ARCH_EXYNOS9
choice
prompt "EXYNOS9 board select"
config TARGET_DREAM
bool "DREAM board"
config TARGET_BEYOND
bool "BEYOND board"
select ARM64
select ARMV8_MULTIENTRY
select CLK_EXYNOS

View File

@ -1,6 +1,6 @@
config SYS_CONFIG_NAME
string "Board configuration name"
default "exynos78x0-common.h"
default "exynos78x0-common"
help
This option contains information about board configuration name.
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header

View File

@ -1,7 +1,7 @@
if TARGET_BEYOND
config SYS_BOARD
default "BEYOND"
default "beyond"
help
BEYOND is a production board for Galaxy S10/S10e/S10+ phones on Exynos9820 SoC.
@ -15,4 +15,4 @@ config EXYNOS9820
bool "Exynos 9820 SOC support"
default "y"
endif
endif

View File

@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
ifndef CONFIG_SPL_BUILD
obj-y += exynos9820.o
endif
obj-$(CONFIG_TARGET_BEYOND) += beyond.o

View File

@ -10,4 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=n
CONFIG_SKIP_LOWLEVEL_INIT=y
CONFIG_DISPLAY_CPUINFO=n
CONFIG_STANDALONE_LOAD_ADDR=0x10008000
CONFIG_SYS_MALLOC_F_LEN=0x8000
CONFIG_SYS_MALLOC_F_LEN=0x8000
CONFIG_POSITION_INDEPENDENT=y
CONFIG_SYS_LOAD_ADDR=0x81ad7fff
CONFIG_PSCI_RESET=n

View File

@ -57,7 +57,7 @@ U_BOOT_DRIVER(pinctrl_exynos9) = {
.name = "pinctrl_exynos9",
.id = UCLASS_PINCTRL,
.of_match = exynos9_pinctrl_ids,
.priv_auto_alloc_size = sizeof(struct exynos_pinctrl_priv),
.priv_auto = sizeof(struct exynos_pinctrl_priv),
.ops = &exynos9_pinctrl_ops,
.probe = exynos_pinctrl_probe,
};