mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +09:00
![Miquel Raynal](/assets/img/avatar_default.png)
Like in Linux, just use CONFIG_MTD to compile the MTD stack. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_S5PC1XX=y
|
|
CONFIG_SYS_TEXT_BASE=0x34800000
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_TARGET_SMDKC100=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_IDENT_STRING=" for SMDKC100"
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="root=/dev/mtdblock5 ubi.mtd=4 rootfstype=cramfs console=ttySAC0,115200n8 mem=128M mtdparts=s3c-onenand:256k(bootloader),128k@0x40000(params),3m@0x60000(kernel),16m@0x360000(test),-(UBI)"
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
CONFIG_SYS_PROMPT="SMDKC100 # "
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_ONENAND=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="onenand0=s3c-onenand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=s3c-onenand:256k(bootloader),128k@0x40000(params),3m@0x60000(kernel),16m@0x360000(test),-(UBI)"
|
|
CONFIG_DEFAULT_DEVICE_TREE="s5pc1xx-smdkc100"
|
|
CONFIG_ENV_IS_IN_ONENAND=y
|
|
CONFIG_ENV_ADDR=0x40000
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_BASE=0x98800300
|