diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-01-28 09:47:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-01-28 09:47:10 +0100 |
commit | f4d07b4d155c15a640692a9b0d44303e32110ece (patch) | |
tree | 8a0305d37ef90f30a611c3bba14c20584d88b61c /package | |
parent | 01967529cb4c8ee829e55844432d811efc412c7b (diff) |
add devicetree support for raspberry pi and kernel 3.18
Diffstat (limited to 'package')
-rw-r--r-- | package/bcm2835-bootloader/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/bcm2835-bootloader/Makefile b/package/bcm2835-bootloader/Makefile index 42db6521f..98bedaf84 100644 --- a/package/bcm2835-bootloader/Makefile +++ b/package/bcm2835-bootloader/Makefile @@ -47,5 +47,16 @@ ifeq ($(ADK_PACKAGE_BCM2835_BOOTLOADER_CUTDOWN),y) endif printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \ $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt +ifeq ($(ADK_KERNEL_BCM2708_DT),y) + printf "device_tree=bcm2708-rpi-b.dtb\n" >> \ + $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt + printf "device_tree_address=0x100\n" >> \ + $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt + printf "kernel_address=0x8000\n" >> \ + $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt + printf "disable_commandline_tags=2\n" >> \ + $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt +endif + include $(ADK_TOPDIR)/mk/pkg-bottom.mk |