summaryrefslogtreecommitdiff
path: root/include/fdt.h
AgeCommit message (Collapse)AuthorFilesLines
2017-11-17libfdt: change fdt.h to a wrapper of scripts/dtc/libfdt/*Masahiro Yamada1-1/+1
Fortunately, U-Boot did not modify fdt.h locally. Change it to a wrapper of scripts/dtc/libfdt/fdt.h, which will be periodically synced with the upstream DTC (or kernel). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-06Do not attempt to use the systemwide libfdtJan Kundrát1-1/+1
U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to include it <like/this>. This breaks the build for me when I have dtc fully installed in my host -- as happened earlier tonight with Buildroot, for example. There are several other occurrences throughout the code where '<libfdt' matches. I'm not modifying these because I have no clue why the <systemwide> include style is being used -- IMHO wrongly. Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
2017-06-02fdt: Move header files into lib/libfdtSimon Glass1-67/+1
These header files are actually part of libfdt. Move them there to make it easier to build pylibfdt and easier to merge changes from upstream. Update the license header to use SPDX at the same time. Signed-off-by: Simon Glass <sjg@chromium.org>
2017-06-02fdt: Use SPDX format for licenses in the libfdt headersSimon Glass1-45/+1
These should follow the UBoot standard. Update them. Signed-off-by: Simon Glass <sjg@chromium.org>
2013-05-10Move FDT_RAMDISK_OVERHEAD from fdt.h to libfdt_env.hGerald Van Baren1-2/+0
The define should not have been put in fdt.h originally, libfdt_env.h is the proper place for target-specific customizations. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2013-05-10Added license header to dtc/libfdt/fdt.h and libfdt_env.hJustin Sobota1-0/+51
This commit adds a license header to fdt.h and libfdt_env.h because the license was omitted. U-Boot note: the u-boot libfdt_env.h header portion was not applied to the u-boot libfdt_env.h because that file was created by Gerald Van Baren (with a license header). - gvb Ref: DTC commit 27cdc1b1 Signed-off-by: Justin Sobota <jsobota@ti.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2013-02-07libfdt: update fdt.h from upstream dtcKim Phillips1-21/+21
upstream dtc commit feafcd972cb744750a65728440c99526e6199a6d "dtc/libfdt: introduce fdt types for annotation by endian checkers". Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Jerry Van Baren <gvb.uboot@gmail.com>
2008-09-13powerpc: Fix bootm to boot up again with a RamdiskHeiko Schocher1-0/+2
Commit 2a1a2cb6 didnt remove the dummy mem reservation in fdt_chosen, and this stopped Linux from booting with a Ramdisk. This patch fixes this, by deleting the useless dummy mem reservation. When booting with a Ramdisk, a fix offset FDT_RAMDISK_OVERHEAD is now added to of_size, so we dont need anymore a dummy mem reservation. I measured the value of FDT_RAMDISK_OVERHEAD on a MPC8270 based system (=0x44 bytes) and rounded it up to 0x80). Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Kumar Gala <galak@kernel.crashing.org>
2008-03-27Fix host tool build breakage, take twoBartlomiej Sieka1-4/+0
Revert commit 87c8431f and fix build breakage so that the build continues to work on FC systems. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2008-03-27new-image: Fix host tool build breakageHaavard Skinnemoen1-0/+4
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2007-11-26Cleanup coding style; update CHANGELOGWolfgang Denk1-16/+16
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-11-21Update libfdt from device tree compiler (dtc)Kumar Gala1-35/+16
Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-04-06libfdt: Make fdt_check_header() publicGerald Van Baren1-0/+19
Changed _fdt_check_header() to fdt_check_header() and made it part of the interface - it is a useful routine. Also did some asthetics cleanup to the include files (headers).
2007-04-04Minor cleanup.Wolfgang Denk1-16/+16
2007-03-31libfdt: Import libfdt source (1 of 2)Gerald Van Baren1-0/+60
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.