| #
0e00a84c |
| 04-Mar-2018 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt header
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones.
This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.h
and replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>
Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994e Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
260eab18 |
| 21-Dec-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: video: use common API instead of private
We can use fdtdec_get_is_enabled() instead of fdt_device_is_available().
Change-Id: I7aa03ed82f83fc72206659889a4f7f095dc66b36 Signed-off-by: Kever
rockchip: video: use common API instead of private
We can use fdtdec_get_is_enabled() instead of fdt_device_is_available().
Change-Id: I7aa03ed82f83fc72206659889a4f7f095dc66b36 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
d807358c |
| 17-Mar-2015 |
cwz <cwz@rock-chips.com> |
libfdt: add api fdt_node_offset_by_phandle_node() find node with phandle and start node.
Change-Id: I3d7c710367005510ed936e75863f9d3685cb4bc5 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Signed
libfdt: add api fdt_node_offset_by_phandle_node() find node with phandle and start node.
Change-Id: I3d7c710367005510ed936e75863f9d3685cb4bc5 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Signed-off-by: cwz <cwz@rock-chips.com>
show more ...
|
| #
f82d1211 |
| 19-Jun-2014 |
yxj <yxj@rock-chips.com> |
libfdt: add function fdt_device_is_available
Change-Id: Ia6c727e246339107c280f715d0e35edd54ce6dc3 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Signed-off-by: yxj <yxj@rock-chips.com>
|
| #
01ae56cf |
| 17-Oct-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
libfdt: fix fdt_stringlist_search()
If fdt_getprop() fails, negative error code should be returned.
[ DTC commit: daa75e8fa5942caa8e97931aed3a1ee0b7edd74b ]
Signed-off-by: Masahiro Yamada <yamada.
libfdt: fix fdt_stringlist_search()
If fdt_getprop() fails, negative error code should be returned.
[ DTC commit: daa75e8fa5942caa8e97931aed3a1ee0b7edd74b ]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
show more ...
|
| #
7c9786d6 |
| 17-Oct-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
libfdt: fix fdt_stringlist_count()
If fdt_getprop() fails, negative error code should be returned.
[ DTC commit: e28eff5b787adb3f461d1653598818b2f1f25a73 ]
Signed-off-by: Masahiro Yamada <yamada.m
libfdt: fix fdt_stringlist_count()
If fdt_getprop() fails, negative error code should be returned.
[ DTC commit: e28eff5b787adb3f461d1653598818b2f1f25a73 ]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
show more ...
|
| #
4504062b |
| 14-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-fdt
|
| #
42b7600d |
| 02-Oct-2016 |
Simon Glass <sjg@chromium.org> |
libfdt: Drop inlining of fdt_path_offset()
The fdt_path_offset() function is not inlined in upstream libfdt. Adjust U-Boot's version to match.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
b02e4044 |
| 02-Oct-2016 |
Simon Glass <sjg@chromium.org> |
libfdt: Bring in upstream stringlist functions
These have now landed upstream. The naming is different and in one case the function signature has changed. Update the code to match.
This applies the
libfdt: Bring in upstream stringlist functions
These have now landed upstream. The naming is different and in one case the function signature has changed. Update the code to match.
This applies the following upstream commits by Thierry Reding <treding@nvidia.com> :
604e61e fdt: Add functions to retrieve strings 8702bd1 fdt: Add a function to get the index of a string 2218387 fdt: Add a function to count strings
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9c07b987 |
| 02-Oct-2016 |
Simon Glass <sjg@chromium.org> |
libfdt: Sync up with upstream
This includes small changes to the following functions, from upstream commit 6d1832c:
- fdt_get_max_phandle() (upstream commit 84e0e134) - fdt_node_check_compatible (u
libfdt: Sync up with upstream
This includes small changes to the following functions, from upstream commit 6d1832c:
- fdt_get_max_phandle() (upstream commit 84e0e134) - fdt_node_check_compatible (upstream commit 53bf130b) - fdt_setprop_inplace_namelen_partial() to remove useless brackets and use idx instead of index - _fdt_resize_property() to use idx instead of index - _fdt_splice() (upstream commit d4c7c25c)
It also includes various typo fixes in libfdt.h
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
8e968571 |
| 05-Jul-2016 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
libfdt: Add fdt_path_offset_namelen
Add a namelen variant of fdt_path_offset to retrieve the node offset using only a fixed number of characters.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-
libfdt: Add fdt_path_offset_namelen
Add a namelen variant of fdt_path_offset to retrieve the node offset using only a fixed number of characters.
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
show more ...
|
| #
6f5f92c6 |
| 05-Jul-2016 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
libfdt: Fix separator spelling
The function fdt_path_next_seperator had an obvious mispell. Fix it.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
| #
57c7809a |
| 05-Jul-2016 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
libfdt: Add max phandle retrieval function
Add a function to retrieve the highest phandle in a given device tree.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Stefan
libfdt: Add max phandle retrieval function
Add a function to retrieve the highest phandle in a given device tree.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
09849f4a |
| 20-Jun-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
6feed2a5 |
| 23-May-2016 |
Robert P. J. Day <rpjday@crashcourse.ca> |
lib/libfdt/: General aesthetic/style fixes.
A number of style fixes across the files in this directory, including:
* Correct invalid kernel-doc content. * Tidy up massive comment in fdt_region.c.
lib/libfdt/: General aesthetic/style fixes.
A number of style fixes across the files in this directory, including:
* Correct invalid kernel-doc content. * Tidy up massive comment in fdt_region.c. * Use correct spelling of "U-Boot". * Replace tests of "! <var>" with "!<var>". * Replace "libfdt_env.h" with <libfdt_env.h>.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
73e1e795 |
| 14-Jul-2015 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
libfdt: fix error code of fdt_count_strings()
Currently, this function returns a positive value on error, so we never know whether this function has succeeded or failed.
For example, if the given p
libfdt: fix error code of fdt_count_strings()
Currently, this function returns a positive value on error, so we never know whether this function has succeeded or failed.
For example, if the given property is not found, fdt_getprop() returns -FDT_ERR_NOTFOUND, and then this function inverts it, i.e., returns FDT_ERR_NOTFOUND (=1).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Fixes: bc4147ab2d69 ("fdt: Add a function to count strings") Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
31f334ab |
| 14-Jul-2015 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
libfdt: fix error code of fdt_get_string_index()
As mentioned in the comment block in include/libfdt.h, fdt_get_string_index() is supposed to return a negative value on error.
Signed-off-by: Masahi
libfdt: fix error code of fdt_get_string_index()
As mentioned in the comment block in include/libfdt.h, fdt_get_string_index() is supposed to return a negative value on error.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings") Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
86e6f7ea |
| 24-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-fdt
|
| #
77d7fff8 |
| 20-Apr-2015 |
Hans de Goede <hdegoede@redhat.com> |
fdt: Fix handling of paths with options in them
After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi builds would no longer boot.
The problem is that stdout-path is now set like
fdt: Fix handling of paths with options in them
After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi builds would no longer boot.
The problem is that stdout-path is now set like this in the upstream dts files: stdout-path = "serial0:115200n8". The use of options in of-paths, either after an alias name, or after a full path, e.g. stdout-path = "/soc@01c00000/serial@01c28000:115200", is standard of usage, but something which the u-boot dts code so far did not handle.
This commit fixes this, adding support for both path formats.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
21109577 |
| 23-Oct-2014 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-fdt
|
| #
5094eb40 |
| 26-Aug-2014 |
Thierry Reding <treding@nvidia.com> |
fdt: Add functions to retrieve strings
Given a device tree node, a property name and an index, the new function fdt_get_string_index() will return in an output argument a pointer to the index'th str
fdt: Add functions to retrieve strings
Given a device tree node, a property name and an index, the new function fdt_get_string_index() will return in an output argument a pointer to the index'th string in the property's value.
The fdt_get_string() is a shortcut for the above with the index being 0.
Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
fc503c17 |
| 26-Aug-2014 |
Thierry Reding <treding@nvidia.com> |
fdt: Add a function to get the index of a string
Given a device tree node and a property name, the new fdt_find_string() function will look up a given string in the string list contained in the prop
fdt: Add a function to get the index of a string
Given a device tree node and a property name, the new fdt_find_string() function will look up a given string in the string list contained in the property's value and return its index.
Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
bc4147ab |
| 26-Aug-2014 |
Thierry Reding <treding@nvidia.com> |
fdt: Add a function to count strings
Given a device tree node and a property name, the fdt_count_strings() function counts the number of strings found in the property value.
Signed-off-by: Thierry
fdt: Add a function to count strings
Given a device tree node and a property name, the fdt_count_strings() function counts the number of strings found in the property value.
Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
dab5e346 |
| 16-Jul-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
Conflicts: boards.cfg
|