bcm27xx: select I2C/SPI packages by default
The I2C and SPI packages required for each RPi generation is different. Therefore, in order to avoid confusion let's select them by default. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
c9e934ffd8
commit
9117ff7b39
2 changed files with 15 additions and 8 deletions
|
@ -325,13 +325,8 @@ CONFIG_HWMON=y
|
||||||
CONFIG_HW_RANDOM=y
|
CONFIG_HW_RANDOM=y
|
||||||
CONFIG_HW_RANDOM_IPROC_RNG200=y
|
CONFIG_HW_RANDOM_IPROC_RNG200=y
|
||||||
CONFIG_I2C=y
|
CONFIG_I2C=y
|
||||||
CONFIG_I2C_ALGOBIT=y
|
|
||||||
# CONFIG_I2C_BCM2708 is not set
|
# CONFIG_I2C_BCM2708 is not set
|
||||||
CONFIG_I2C_BCM2835=y
|
|
||||||
CONFIG_I2C_BOARDINFO=y
|
CONFIG_I2C_BOARDINFO=y
|
||||||
CONFIG_I2C_BRCMSTB=y
|
|
||||||
CONFIG_I2C_DESIGNWARE_CORE=y
|
|
||||||
CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
|
||||||
# CONFIG_IDPF is not set
|
# CONFIG_IDPF is not set
|
||||||
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
|
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
|
||||||
CONFIG_INPUT=y
|
CONFIG_INPUT=y
|
||||||
|
|
|
@ -88,7 +88,9 @@ define Device/rpi
|
||||||
DEVICE_PACKAGES := \
|
DEVICE_PACKAGES := \
|
||||||
cypress-firmware-43430-sdio \
|
cypress-firmware-43430-sdio \
|
||||||
brcmfmac-nvram-43430-sdio \
|
brcmfmac-nvram-43430-sdio \
|
||||||
kmod-brcmfmac wpad-basic-mbedtls
|
kmod-brcmfmac wpad-basic-mbedtls \
|
||||||
|
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
|
||||||
|
kmod-spi-bcm2835-aux
|
||||||
endef
|
endef
|
||||||
ifeq ($(SUBTARGET),bcm2708)
|
ifeq ($(SUBTARGET),bcm2708)
|
||||||
TARGET_DEVICES += rpi
|
TARGET_DEVICES += rpi
|
||||||
|
@ -127,7 +129,9 @@ define Device/rpi-2
|
||||||
brcmfmac-nvram-43430-sdio \
|
brcmfmac-nvram-43430-sdio \
|
||||||
cypress-firmware-43455-sdio \
|
cypress-firmware-43455-sdio \
|
||||||
brcmfmac-nvram-43455-sdio \
|
brcmfmac-nvram-43455-sdio \
|
||||||
kmod-brcmfmac wpad-basic-mbedtls
|
kmod-brcmfmac wpad-basic-mbedtls \
|
||||||
|
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
|
||||||
|
kmod-spi-bcm2835-aux
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-2708 | boot-2711 | sdcard-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-2708 | boot-2711 | sdcard-img | gzip | append-metadata
|
||||||
IMAGE/factory.img.gz := boot-common | boot-2708 | boot-2711 | sdcard-img | gzip
|
IMAGE/factory.img.gz := boot-common | boot-2708 | boot-2711 | sdcard-img | gzip
|
||||||
endef
|
endef
|
||||||
|
@ -161,7 +165,9 @@ define Device/rpi-3
|
||||||
brcmfmac-nvram-43430-sdio \
|
brcmfmac-nvram-43430-sdio \
|
||||||
cypress-firmware-43455-sdio \
|
cypress-firmware-43455-sdio \
|
||||||
brcmfmac-nvram-43455-sdio \
|
brcmfmac-nvram-43455-sdio \
|
||||||
kmod-brcmfmac wpad-basic-mbedtls
|
kmod-brcmfmac wpad-basic-mbedtls \
|
||||||
|
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
|
||||||
|
kmod-spi-bcm2835-aux
|
||||||
endef
|
endef
|
||||||
ifeq ($(SUBTARGET),bcm2710)
|
ifeq ($(SUBTARGET),bcm2710)
|
||||||
TARGET_DEVICES += rpi-3
|
TARGET_DEVICES += rpi-3
|
||||||
|
@ -183,6 +189,9 @@ define Device/rpi-4
|
||||||
cypress-firmware-43455-sdio \
|
cypress-firmware-43455-sdio \
|
||||||
brcmfmac-nvram-43455-sdio \
|
brcmfmac-nvram-43455-sdio \
|
||||||
kmod-brcmfmac wpad-basic-mbedtls \
|
kmod-brcmfmac wpad-basic-mbedtls \
|
||||||
|
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
|
||||||
|
kmod-spi-bcm2835-aux \
|
||||||
|
kmod-i2c-brcmstb \
|
||||||
kmod-usb-net-lan78xx \
|
kmod-usb-net-lan78xx \
|
||||||
kmod-r8169
|
kmod-r8169
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
|
||||||
|
@ -210,6 +219,9 @@ define Device/rpi-5
|
||||||
cypress-firmware-43455-sdio \
|
cypress-firmware-43455-sdio \
|
||||||
brcmfmac-nvram-43455-sdio \
|
brcmfmac-nvram-43455-sdio \
|
||||||
kmod-brcmfmac wpad-basic-mbedtls \
|
kmod-brcmfmac wpad-basic-mbedtls \
|
||||||
|
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
|
||||||
|
kmod-i2c-brcmstb \
|
||||||
|
kmod-i2c-designware-platform kmod-spi-dw-mmio \
|
||||||
kmod-hwmon-pwmfan kmod-thermal
|
kmod-hwmon-pwmfan kmod-thermal
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | sdcard-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | sdcard-img | gzip | append-metadata
|
||||||
IMAGE/factory.img.gz := boot-common | sdcard-img | gzip
|
IMAGE/factory.img.gz := boot-common | sdcard-img | gzip
|
||||||
|
|
Loading…
Reference in a new issue