blob: c1cd08abf652077af9ed54d43b7a8ecabb3d7272 [file] [log] [blame]
Stefan Bosche7001ed2020-07-10 19:07:38 +02001CONFIG_ARM=y
2CONFIG_ARCH_NEXELL=y
3CONFIG_ARCH_S5P4418=y
4CONFIG_TARGET_NANOPI2=y
5CONFIG_DEFAULT_DEVICE_TREE="s5p4418-nanopi2"
6CONFIG_FIT=y
7
8CONFIG_SYS_MEMTEST_START=0x71000000
9CONFIG_SYS_MEMTEST_END=0xb0000000
10
11CONFIG_CMD_MEMTEST=y
12# CONFIG_CMD_IMLS is not set
13# CONFIG_CMD_FLASH is not set
14CONFIG_CMD_I2C=y
15# CONFIG_CMD_FPGA is not set
16CONFIG_CMD_GPIO=y
17# CONFIG_CMD_SETEXPR is not set
18# CONFIG_CMD_NET is not set
19
20# Default is CONFIG_NET=y, in this case:
21# Loading Environment from MMC... ## Warning: Unknown environment variable type 'm'
22# OK
23# CONFIG_CMD_NET=y must be set to avoid this Warning. But then:
24# Net: Net Initialization Skipped
25# No ethernet found.
26# If CONFIG_NET=n is set additionally warning at "make s5p4418_nanopi2_defconfig":
27# arch/../configs/s5p4418_nanopi2_defconfig:24:warning: override: reassigning to symbol CMD_NET
28#
29# --> CONFIG_NET=n set only
30CONFIG_NET=n
31
32# CONFIG_CMD_NFS is not set
33CONFIG_CMD_FDISK=y
34CONFIG_CMD_EXT4_IMG_WRITE=y
35CONFIG_CMD_SD_RECOVERY=y
36CONFIG_CMD_PMIC=y
37CONFIG_CMD_REGULATOR=y
38
39CONFIG_PINCTRL=y
40CONFIG_DM_GPIO=y
41CONFIG_DM_I2C=y
42CONFIG_SYS_I2C_NEXELL=y
43CONFIG_DM_PMIC=y
44CONFIG_DM_PMIC_AXP228=y
45CONFIG_DM_REGULATOR=y
46CONFIG_DM_REGULATOR_AXP228=y
47CONFIG_DM_PWM=n
48
49CONFIG_DISPLAY=y
50CONFIG_DM_VIDEO=y
51CONFIG_SYS_CONSOLE_BG_COL=0xff
52CONFIG_SYS_CONSOLE_FG_COL=0x00
53CONFIG_VIDEO_NX=y
54CONFIG_VIDEO_NX_RGB=y
55CONFIG_VIDEO_NX_LVDS=y
56CONFIG_VIDEO_NX_HDMI=y
57CONFIG_CMD_BMP=y
58
59## LCD backlight control
60CONFIG_S5P4418_ONEWIRE=y
61CONFIG_PWM_NX is not set
62
63CONFIG_REGEX=y
64CONFIG_ERRNO_STR=y
65
66CONFIG_SYS_TEXT_BASE=0x74C00000
67CONFIG_NR_DRAM_BANKS=1
68CONFIG_SYS_CACHELINE_SIZE=64
69
70## System initialize options (board_init_f)
71# board_init_f->init_sequence, call board_early_init_f
72CONFIG_BOARD_LATE_INIT=y
73# board_init_f->init_sequence, call print_cpuinfo
74CONFIG_DISPLAY_CPUINFO=y
75# board_init_f->init_sequence, call show_board_info
76CONFIG_DISPLAY_BOARDINFO=y
77# board_init_f, CONFIG_SYS_ICACHE_OFF
78CONFIG_SYS_DCACHE_OFF=y
79# board_init_r, call arch_misc_init
80CONFIG_ARCH_MISC_INIT=y
81
82CONFIG_BOOTDELAY=1
83CONFIG_ZERO_BOOTDELAY_CHECK=y
84
85## U-Boot Environments
86## refer to common/env_common.c
87
88# CONFIG_ENV_IS_IN_MMC must be set here and not in s5p4418_nanopi2.h
89# otherwise CONFIG_ENV_IS_NOWHERE is set by env/Kconfig and environment
90# (bootargs) are not loaded
91CONFIG_ENV_IS_IN_MMC=y
92CONFIG_ENV_OFFSET=0x2E0200
93CONFIG_ENV_SIZE=0x4000
94CONFIG_CMD_SAVEENV=y
95
96## Etc Command definition
97# image info
98CONFIG_CMD_IMI=y
99# add command line history
100CONFIG_CMDLINE_EDITING=y
101CONFIG_CMDLINE_TAG=y
102CONFIG_INITRD_TAG=y
103CONFIG_SUPPORT_RAW_INITRD=y
104CONFIG_REVISION_TAG=y
105CONFIG_CMD_BOOTZ=y
106
107## serial console configuration
108CONFIG_CONS_INDEX=0
109CONFIG_BAUDRATE=115200
110
111## SD/MMC
112CONFIG_BOUNCE_BUFFER=y
113CONFIG_GENERIC_MMC=y
114CONFIG_MMC=y
115CONFIG_MMC_DW=y
116CONFIG_NEXELL_DWMMC=y
117CONFIG_CMD_MMC=y
118CONFIG_DM_MMC=y
119
120CONFIG_DOS_PARTITION=y
121CONFIG_CMD_FAT=y
122CONFIG_FS_FAT=y
123CONFIG_FAT_WRITE=y
124
125CONFIG_CMD_EXT4=y
126CONFIG_CMD_EXT4_WRITE=y
127CONFIG_FS_EXT4=y
128CONFIG_EXT4_WRITE=y
129
130## OF_CONTROL
131CONFIG_FIT_BEST_MATCH=y
132CONFIG_OF_LIBFDT=y
133CONFIG_OF_BOARD_SETUP=y
134
135## BOOTCOMMAND
136CONFIG_ROOT_DEV=1
137CONFIG_BOOT_PART=1
138CONFIG_ROOT_PART=2
139
140# necessary for if-cmd
141CONFIG_HUSH_PARSER=y
142
143# set to 'n' to save memory
144CONFIG_SYS_LONGHELP=y
145
146# For debugging (trace) of MMC-CMDs
147CONFIG_MMC_TRACE=n