04 Dec, 2012

1 commit

  • The current rules have the .dtb files build in a different directory
    from the .dts files. This patch changes openrisc to use the generic dtb
    rule which builds .dtb files in the same directory as the source .dts.

    This requires renaming arch/openrisc/boot/Makefile to
    arch/openrisc/boot/dts/Makefile, and updating arch/openrisc/Makefile to
    call the new Makefile.

    Cc: Jonas Bonn
    Cc: linux@lists.openrisc.net
    Signed-off-by: Stephen Warren
    Signed-off-by: Rob Herring

    Stephen Warren
     

15 Jan, 2012

1 commit

  • This hooks dtc into Kbuild's dependency system.

    Thus, for example, "make dtbs" will rebuild tegra-harmony.dtb if only
    tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous
    lack of this feature recently caused me to have very confusing "git
    bisect" results.

    For ARM, it's obvious what to add to $(targets). I'm not familiar enough
    with other architectures to know what to add there. Powerpc appears to
    already add various .dtb files into $(targets), but the other archs may
    need something added to $(targets) to work.

    Signed-off-by: Stephen Warren
    Acked-by: Shawn Guo
    [mmarek: Dropped arch/c6x part to avoid merging commits from the middle
    of the merge window]
    Signed-off-by: Michal Marek

    Stephen Warren
     

23 Jul, 2011

2 commits

  • Signed-off-by: Jonas Bonn
    Reviewed-by: Arnd Bergmann

    Jonas Bonn
     
  • The OpenRISC architecture uses the device tree infrastructure for the
    platform description. This is currently limited to having a device tree
    built into the kernel, but work is underway within the OpenRISC project
    to define how this device tree blob should be passed into the kernel from
    an external resource.

    Patch contains a single example DTS file to go with the defconfig for
    or1ksim.

    Signed-off-by: Jonas Bonn
    Cc: devicetree-discuss@lists.ozlabs.org
    Reviewed-by: Arnd Bergmann

    Jonas Bonn