forked from Openwrt/openwrt
73a9f9f857
Currently, information from MikroTik hard_config is only available via sysfs, meaning that we have to rely on userspace to for example setup MACs. So, lets provide a basic NVMEM layout based driver to expose the same cells as sysfs driver exposes. Do note that the we dont extract the WLAN caldata and BDF-s at this point. Reviewed-by: Thibaut VARÈNE <hacks@slashdirt.org> Link: https://github.com/openwrt/openwrt/pull/15665 Signed-off-by: Robert Marko <robimarko@gmail.com>
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
CONFIG_CRC16=y
|
|
CONFIG_CRYPTO_DEFLATE=y
|
|
CONFIG_CRYPTO_HASH_INFO=y
|
|
CONFIG_CRYPTO_LZO=y
|
|
CONFIG_CRYPTO_ZSTD=y
|
|
CONFIG_GPIO_LATCH_MIKROTIK=y
|
|
CONFIG_GPIO_RB4XX=y
|
|
CONFIG_GPIO_RB91X_KEY=y
|
|
CONFIG_GPIO_WATCHDOG=y
|
|
CONFIG_GPIO_WATCHDOG_ARCH_INITCALL=y
|
|
CONFIG_GRO_CELLS=y
|
|
CONFIG_LZO_COMPRESS=y
|
|
CONFIG_LZO_DECOMPRESS=y
|
|
CONFIG_MFD_CORE=y
|
|
CONFIG_MFD_RB4XX_CPLD=y
|
|
CONFIG_MIKROTIK=y
|
|
CONFIG_MIKROTIK_RB_SYSFS=y
|
|
CONFIG_MTD_NAND_AR934X=y
|
|
CONFIG_MTD_NAND_CORE=y
|
|
CONFIG_MTD_NAND_ECC=y
|
|
CONFIG_MTD_NAND_ECC_SW_HAMMING=y
|
|
CONFIG_MTD_NAND_RB4XX=y
|
|
CONFIG_MTD_NAND_RB91X=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_MTD_ROUTERBOOT_PARTS=y
|
|
CONFIG_MTD_SPI_NAND=y
|
|
CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y
|
|
CONFIG_MTD_SPLIT_MINOR_FW=y
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_MTD_UBI_BEB_LIMIT=20
|
|
CONFIG_MTD_UBI_BLOCK=y
|
|
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
|
CONFIG_NET_DEVLINK=y
|
|
CONFIG_NET_DSA=y
|
|
CONFIG_NET_SWITCHDEV=y
|
|
# CONFIG_NVMEM_LAYOUT_MIKROTIK is not set
|
|
CONFIG_PHYLINK=y
|
|
CONFIG_PHY_AR7100_USB=y
|
|
CONFIG_PHY_AR7200_USB=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_SGL_ALLOC=y
|
|
CONFIG_SPI_RB4XX=y
|
|
CONFIG_UBIFS_FS=y
|
|
CONFIG_WATCHDOG_CORE=y
|
|
CONFIG_XXHASH=y
|
|
CONFIG_ZLIB_DEFLATE=y
|
|
CONFIG_ZLIB_INFLATE=y
|
|
CONFIG_ZSTD_COMMON=y
|
|
CONFIG_ZSTD_COMPRESS=y
|
|
CONFIG_ZSTD_DECOMPRESS=y
|