openwrt/target/linux/generic/files/drivers/platform/mikrotik
Robert Marko 73a9f9f857 generic: platform/mikrotik: add NVMEM layout driver
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>
2024-06-20 15:53:55 +02:00
..
Kconfig generic: platform/mikrotik: add NVMEM layout driver 2024-06-20 15:53:55 +02:00
Makefile generic: platform/mikrotik: add NVMEM layout driver 2024-06-20 15:53:55 +02:00
rb_hardconfig.c generic: platform/mikrotik: move hard config tag ID-s to a header 2024-06-20 15:53:55 +02:00
rb_hardconfig.h generic: platform/mikrotik: move hard config tag ID-s to a header 2024-06-20 15:53:55 +02:00
rb_nvmem.c generic: platform/mikrotik: add NVMEM layout driver 2024-06-20 15:53:55 +02:00
rb_softconfig.c generic: platform/mikrotik: use MTD notifier 2022-01-13 09:33:29 +01:00
routerboot.c generic: platform/mikrotik: use MTD notifier 2022-01-13 09:33:29 +01:00
routerboot.h generic: platform/mikrotik: use MTD notifier 2022-01-13 09:33:29 +01:00