liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 81ccd113479888d530d45309c336714ef974af5e
parent 817c3793d41830410e1a22de2db94bf6ebb2f8d3
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 19 Feb 2023 18:10:43 +0000

gl-ar750: support _actual_ mtd/spi not just fake one

the ath9k driver needs MTD because that's where it looks for
firmware/calibration data (ART partition)

Diffstat:
Mdevices/gl-ar750/default.nix | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/devices/gl-ar750/default.nix b/devices/gl-ar750/default.nix @@ -102,6 +102,15 @@ MFD_SYSCON = "y"; # ethernet (compatible "syscon") AR8216_PHY = "y"; # eth1 is behind a switch + MTD_SPI_NOR = "y"; + SPI_ATH79 = "y"; # these are copied from OpenWrt. + SPI_MASTER= "y"; # At least one of them is necessary + SPI_MEM= "y"; + SPI_AR934X= "y"; + SPI_BITBANG= "y"; + SPI_GPIO= "y"; + + SPI = "y"; MTD = "y"; MTD_CMDLINE_PARTS = "y"; MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_devs