summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-07 07:21:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-07 07:21:16 +0200
commit13cbb3ecd910f2afd1416549f62847916054a9b6 (patch)
tree1b7344fe13490791bc092022cefec63e3fa096d5 /package
parentc45e8060eb1b93b5f34887b9eaa8b503d6a8df7b (diff)
enable spi/i2c by default
Diffstat (limited to 'package')
-rw-r--r--package/bcm28xx-bootloader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/bcm28xx-bootloader/Makefile b/package/bcm28xx-bootloader/Makefile
index f35e04a0f..44f63a9f8 100644
--- a/package/bcm28xx-bootloader/Makefile
+++ b/package/bcm28xx-bootloader/Makefile
@@ -54,6 +54,8 @@ do-install:
$(CP) $(WRKBUILD)/boot/bootcode.bin $(IDIR_BCM28XX_BOOTLOADER)/boot/
printf "$(CMDLINE)\n" > $(IDIR_BCM28XX_BOOTLOADER)/boot/cmdline.txt
printf "kernel=kernel\n" > $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ printf "dtparam=i2s=on,spi=on,i2c_arm=on\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
ifeq ($(ADK_PACKAGE_BCM28XX_BOOTLOADER_DEFAULT),y)
$(CP) $(WRKBUILD)/boot/{start.elf,fixup.dat} $(IDIR_BCM28XX_BOOTLOADER)/boot/
printf "start_file=start.elf\n" >> $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt