Stefan Bosch | e7001ed | 2020-07-10 19:07:38 +0200 | [diff] [blame] | 1 | CONFIG_ARM=y |
| 2 | CONFIG_ARCH_NEXELL=y |
| 3 | CONFIG_ARCH_S5P4418=y |
| 4 | CONFIG_TARGET_NANOPI2=y |
| 5 | CONFIG_DEFAULT_DEVICE_TREE="s5p4418-nanopi2" |
| 6 | CONFIG_FIT=y |
| 7 | |
| 8 | CONFIG_SYS_MEMTEST_START=0x71000000 |
| 9 | CONFIG_SYS_MEMTEST_END=0xb0000000 |
| 10 | |
| 11 | CONFIG_CMD_MEMTEST=y |
| 12 | # CONFIG_CMD_IMLS is not set |
| 13 | # CONFIG_CMD_FLASH is not set |
| 14 | CONFIG_CMD_I2C=y |
| 15 | # CONFIG_CMD_FPGA is not set |
| 16 | CONFIG_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 |
| 30 | CONFIG_NET=n |
| 31 | |
| 32 | # CONFIG_CMD_NFS is not set |
| 33 | CONFIG_CMD_FDISK=y |
| 34 | CONFIG_CMD_EXT4_IMG_WRITE=y |
| 35 | CONFIG_CMD_SD_RECOVERY=y |
| 36 | CONFIG_CMD_PMIC=y |
| 37 | CONFIG_CMD_REGULATOR=y |
| 38 | |
| 39 | CONFIG_PINCTRL=y |
| 40 | CONFIG_DM_GPIO=y |
| 41 | CONFIG_DM_I2C=y |
| 42 | CONFIG_SYS_I2C_NEXELL=y |
| 43 | CONFIG_DM_PMIC=y |
| 44 | CONFIG_DM_PMIC_AXP228=y |
| 45 | CONFIG_DM_REGULATOR=y |
| 46 | CONFIG_DM_REGULATOR_AXP228=y |
| 47 | CONFIG_DM_PWM=n |
| 48 | |
| 49 | CONFIG_DISPLAY=y |
| 50 | CONFIG_DM_VIDEO=y |
| 51 | CONFIG_SYS_CONSOLE_BG_COL=0xff |
| 52 | CONFIG_SYS_CONSOLE_FG_COL=0x00 |
| 53 | CONFIG_VIDEO_NX=y |
| 54 | CONFIG_VIDEO_NX_RGB=y |
| 55 | CONFIG_VIDEO_NX_LVDS=y |
| 56 | CONFIG_VIDEO_NX_HDMI=y |
| 57 | CONFIG_CMD_BMP=y |
| 58 | |
| 59 | ## LCD backlight control |
| 60 | CONFIG_S5P4418_ONEWIRE=y |
| 61 | CONFIG_PWM_NX is not set |
| 62 | |
| 63 | CONFIG_REGEX=y |
| 64 | CONFIG_ERRNO_STR=y |
| 65 | |
| 66 | CONFIG_SYS_TEXT_BASE=0x74C00000 |
| 67 | CONFIG_NR_DRAM_BANKS=1 |
| 68 | CONFIG_SYS_CACHELINE_SIZE=64 |
| 69 | |
| 70 | ## System initialize options (board_init_f) |
| 71 | # board_init_f->init_sequence, call board_early_init_f |
| 72 | CONFIG_BOARD_LATE_INIT=y |
| 73 | # board_init_f->init_sequence, call print_cpuinfo |
| 74 | CONFIG_DISPLAY_CPUINFO=y |
| 75 | # board_init_f->init_sequence, call show_board_info |
| 76 | CONFIG_DISPLAY_BOARDINFO=y |
| 77 | # board_init_f, CONFIG_SYS_ICACHE_OFF |
| 78 | CONFIG_SYS_DCACHE_OFF=y |
| 79 | # board_init_r, call arch_misc_init |
| 80 | CONFIG_ARCH_MISC_INIT=y |
| 81 | |
| 82 | CONFIG_BOOTDELAY=1 |
| 83 | CONFIG_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 |
| 91 | CONFIG_ENV_IS_IN_MMC=y |
| 92 | CONFIG_ENV_OFFSET=0x2E0200 |
| 93 | CONFIG_ENV_SIZE=0x4000 |
| 94 | CONFIG_CMD_SAVEENV=y |
| 95 | |
| 96 | ## Etc Command definition |
| 97 | # image info |
| 98 | CONFIG_CMD_IMI=y |
| 99 | # add command line history |
| 100 | CONFIG_CMDLINE_EDITING=y |
| 101 | CONFIG_CMDLINE_TAG=y |
| 102 | CONFIG_INITRD_TAG=y |
| 103 | CONFIG_SUPPORT_RAW_INITRD=y |
| 104 | CONFIG_REVISION_TAG=y |
| 105 | CONFIG_CMD_BOOTZ=y |
| 106 | |
| 107 | ## serial console configuration |
| 108 | CONFIG_CONS_INDEX=0 |
| 109 | CONFIG_BAUDRATE=115200 |
| 110 | |
| 111 | ## SD/MMC |
| 112 | CONFIG_BOUNCE_BUFFER=y |
| 113 | CONFIG_GENERIC_MMC=y |
| 114 | CONFIG_MMC=y |
| 115 | CONFIG_MMC_DW=y |
| 116 | CONFIG_NEXELL_DWMMC=y |
| 117 | CONFIG_CMD_MMC=y |
| 118 | CONFIG_DM_MMC=y |
| 119 | |
| 120 | CONFIG_DOS_PARTITION=y |
| 121 | CONFIG_CMD_FAT=y |
| 122 | CONFIG_FS_FAT=y |
| 123 | CONFIG_FAT_WRITE=y |
| 124 | |
| 125 | CONFIG_CMD_EXT4=y |
| 126 | CONFIG_CMD_EXT4_WRITE=y |
| 127 | CONFIG_FS_EXT4=y |
| 128 | CONFIG_EXT4_WRITE=y |
| 129 | |
| 130 | ## OF_CONTROL |
| 131 | CONFIG_FIT_BEST_MATCH=y |
| 132 | CONFIG_OF_LIBFDT=y |
| 133 | CONFIG_OF_BOARD_SETUP=y |
| 134 | |
| 135 | ## BOOTCOMMAND |
| 136 | CONFIG_ROOT_DEV=1 |
| 137 | CONFIG_BOOT_PART=1 |
| 138 | CONFIG_ROOT_PART=2 |
| 139 | |
| 140 | # necessary for if-cmd |
| 141 | CONFIG_HUSH_PARSER=y |
| 142 | |
| 143 | # set to 'n' to save memory |
| 144 | CONFIG_SYS_LONGHELP=y |
| 145 | |
| 146 | # For debugging (trace) of MMC-CMDs |
| 147 | CONFIG_MMC_TRACE=n |