|
@@ -66,23 +66,20 @@ endif
|
|
|
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRRY_PI),y)
|
|
|
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
-endif
|
|
|
-ifeq ($(ADK_KERNEL_BCM2709_DT),y)
|
|
|
- printf "device_tree=bcm2709-rpi-2-b.dtb\n" >> \
|
|
|
+ printf "device_tree=bcm2708-rpi-b.dtb\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
endif
|
|
|
-ifeq ($(ADK_KERNEL_BCM2708_DT),y)
|
|
|
- printf "device_tree=bcm2708-rpi-b.dtb\n" >> \
|
|
|
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y)
|
|
|
+ printf "device_tree=bcm2709-rpi-2-b.dtb\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
endif
|
|
|
-ifneq ($(ADK_KERNEL_BCM2708_DT)$(ADK_KERNEL_BCM2709_DT),)
|
|
|
printf "device_tree_address=0x100\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
printf "kernel_address=0x8000\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
printf "disable_commandline_tags=2\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
- printf "dtparam=i2s=on,spi=on,i2c_arm=on,i2c_vc=on\n" >> \
|
|
|
+ printf "dtparam=i2s=on,spi=on\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
ifneq ($(ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP),)
|
|
|
printf "dtoverlay=hifiberry-amp\n" >> \
|
|
@@ -108,10 +105,6 @@ ifneq ($(ADK_KERNEL_SND_BCM2708_SOC_RPI_PROTO),)
|
|
|
printf "dtoverlay=rpi-proto\n" >> \
|
|
|
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
endif
|
|
|
-else
|
|
|
- printf "device_tree=\n" >> \
|
|
|
- $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
|
|
|
-endif
|
|
|
ifeq ($(ADK_PACKAGE_BCM28XX_DEBUGTOOL),y)
|
|
|
$(INSTALL_DIR) $(IDIR_BCM28XX_DEBUGTOOL)/opt/vc/bin
|
|
|
$(INSTALL_BIN) $(WRKBUILD)/hardfp/opt/vc/bin/vcdbg \
|