aboutsummaryrefslogtreecommitdiffstats
path: root/libfdt
AgeCommit message (Expand)AuthorFilesLines
2024-05-01libfdt: overlay: Refactor overlay_fixup_phandleHEADmastermainZheng Guangyuan1-20/+20
2024-03-14libfdt: overlay: ensure that existing phandles are not overwrittenUwe Kleine-König1-0/+251
2024-02-23libfdt: Simplify adjustment of values for local fixupsDavid Gibson1-37/+15
2024-02-22libfdt: rework shared/static librariesRosen Penev1-12/+5
2024-01-25libfdt: fix duplicate meson targetAlyssa Ross1-9/+11
2023-10-11libfdt: fdt_path_offset_namelen: Reject empty pathPierre-Clément Tosi1-0/+3
2023-10-11libfdt: fdt_get_alias_namelen: Validate aliasesPierre-Clément Tosi1-1/+10
2023-09-04libfdt: Fix fdt_appendprop_addrrange documentationPierre-Clément Tosi1-1/+1
2023-08-06libfdt: rename libfdt-X.Y.Z.so to libfdt.so.X.Y.ZBrandon Maier1-1/+5
2023-08-04libfdt: add missing version symbolsBrandon Maier1-0/+2
2023-08-04editorconfig: use tab indentation for version.ldsBrandon Maier1-1/+1
2023-08-01libfdt: fix library version to match project versionBrandon Maier1-1/+1
2023-06-08libfdt: Fix a typo in libfdt.hYan-Jie Wang1-1/+1
2023-06-01libfdt: meson: Fix linking on macOS linkerOtavio Salvador1-1/+11
2023-05-03improve documentation for fdt_path_offset()Rasmus Villemoes1-1/+26
2023-05-03add fdt_get_symbol() and fdt_get_symbol_namelen() functionsRasmus Villemoes2-0/+47
2023-05-03use fdt_path_getprop_namelen() in fdt_get_alias_namelen()Rasmus Villemoes1-7/+1
2023-05-03add fdt_path_getprop_namelen() helperRasmus Villemoes1-0/+12
2023-01-29libfdt: Replace deprecated 0-length arrays with proper flexible arraysKees Cook1-2/+2
2022-10-12libfdt: prevent integer overflow in fdt_next_tagTadeusz Struk1-5/+12
2022-10-12libfdt: add fdt_get_property_by_offset_w helperTadeusz Struk1-0/+7
2022-09-16libdtc: remove duplicate judgmentsJia Xianhua1-3/+0
2022-07-30libfdt: Don't mask fdt_get_name() returned errorPierre-Clément Tosi1-1/+4
2022-07-27Allow static building with mesonTero Tervala1-1/+7
2022-07-26libfdt: Handle failed get_name() on BEGIN_NODEPierre-Clément Tosi1-1/+1
2021-12-28Fix a UB when fdt_get_string return nullLoveSy1-1/+1
2021-11-18libfdt: overlay: make overlay_get_target() publicVikram Garhwal3-22/+26
2021-11-17libfdt: fix an incorrect integer promotionElvira Khabirova1-1/+1
2021-11-11libfdt: Add static lib to meson buildRob Herring1-0/+5
2021-08-02libfdt: Add ALIGNMENT error stringGeorg Kotheimer1-0/+1
2021-06-21fdtget: Fix signedness comparisons warningsAndre Przywara1-0/+7
2021-06-08Fix CID 1461557David Gibson1-5/+8
2021-04-07libfdt: Add FDT alignment check to fdt_check_header()Rob Herring1-0/+4
2021-03-23libfdt: Check that the root-node name is emptySimon Glass1-0/+10
2021-03-23libfdt: Check that there is only one root nodeSimon Glass1-0/+7
2021-03-09libfdt: Fix a possible "unchecked return value" warningDavid Gibson1-1/+4
2021-01-04Set last_comp_version correctly in new dtb and fix potential version issues i...Justin Covell3-2/+5
2020-12-16libfdt: Tweak description of assume-aligned load helpersDavid Gibson1-7/+7
2020-12-16libfdt: Internally perform potentially unaligned loadsTom Rini3-15/+32
2020-11-24libfdt: Check for 8-byte address alignment in fdt_ro_probe_()Tom Rini2-1/+9
2020-10-21build-sys: add meson buildMarc-André Lureau1-0/+50
2020-10-13libfdt: Fix kernel-doc commentsAndre Przywara1-36/+75
2020-10-02libfdt: fdt_strerror(): Fix comparison warningAndre Przywara1-2/+2
2020-10-02libfdt: fdt_get_string(): Fix sequential write comparison warningsAndre Przywara1-4/+6
2020-10-02libfdt: libfdt_wip: Fix comparison warningAndre Przywara1-1/+1
2020-10-02libfdt: fdt_create_with_flags(): Fix comparison warningAndre Przywara1-2/+2
2020-10-02libfdt: fdt_move(): Fix comparison warningsAndre Przywara1-1/+4
2020-10-02libfdt: fdt_add_string_(): Fix comparison warningAndre Przywara1-7/+7
2020-09-25libfdt: fdt_node_offset_by_phandle(): Fix comparison warningAndre Przywara1-1/+1
2020-09-25libfdt: overlay: Fix comparison warningAndre Przywara1-1/+2
2020-09-24libfdt: fdt_resize(): Fix comparison warningAndre Przywara1-1/+4
2020-09-24libfdt: fdt_splice_(): Fix comparison warningAndre Przywara1-1/+1
2020-09-24libfdt: fdt_get_string(): Fix comparison warningsSimon Glass1-2/+2
2020-09-23libfdt: fdt_grab_space_(): Fix comparison warningAndre Przywara1-2/+2
2020-09-23libfdt: fdt_mem_rsv(): Fix comparison warningsAndre Przywara1-2/+2
2020-09-23libfdt: fdt_offset_ptr(): Fix comparison warningsAndre Przywara1-3/+7
2020-08-14libfdt: fix fdt_check_node_offset_ w/ VALID_INPUTFrank Mehnert1-6/+10
2020-07-10libfdt: fix fdt_check_full buffer overrunPatrick Oppenlander1-0/+2
2020-06-19libfdt: add extern "C" for C++Patrick Oppenlander1-0/+8
2020-06-18libfdt: trivial typo fixPatrick Oppenlander1-1/+1
2020-06-16libfdt: Correct condition for reordering blocksSimon Glass1-1/+1
2020-03-06libfdt: fix undefined behaviour in fdt_splice_()Jan Beulich1-6/+7
2020-03-03libfdt: Use VALID_INPUT for FDT_ERR_BADSTATE checksSimon Glass2-4/+5
2020-03-03libfdt: Add support for disabling internal checksSimon Glass2-2/+11
2020-03-03libfdt: Improve comments in some of the assumptionsSimon Glass1-3/+12
2020-03-03libfdt: Fix a few typosSimon Glass1-3/+3
2020-02-24libfdt: Allow exclusion of fdt_check_full()Simon Glass3-64/+75
2020-02-24libfdt: Add support for disabling ordering check/fixupSimon Glass1-1/+2
2020-02-24libfdt: Add support for disabling version checksSimon Glass3-24/+32
2020-02-24libfdt: Add support for disabling rollback handlingSimon Glass1-3/+15
2020-02-24libfdt: Add support for disabling sanity checksSimon Glass2-24/+48
2020-02-24libfdt: Add support for disabling dtb checksSimon Glass4-29/+45
2020-02-24Add a way to control the level of checks in the codeSimon Glass1-0/+104
2020-02-24libfdt: De-inline fdt_header_size()Simon Glass3-4/+11
2019-11-15Remove trailing zero from the overlay pathStefan Mavrodiev1-1/+1
2019-11-08libfdt: Correct prototype for fdt_ro_probe_()David Gibson1-2/+2
2019-09-10libfdt.h: add explicit cast from void* to uint8_t* in fdt(32|64)_stLuc Michel1-2/+2
2019-07-28libfdt: Allow #size-cells of 0David Gibson1-3/+5
2019-07-05libfdt: Tweak data handling to satisfy CoverityDavid Gibson3-12/+18
2019-07-04fdtoverlay: Ignore symbols in overlays which don't apply to the target treeDavid Gibson1-3/+8
2019-07-04fdtoverlay: Allow adding labels to __overlay__ nodes in overlaysDavid Gibson1-6/+11
2019-06-21libfdt: Add dual GPL/BSD SPDX tags to files missing license textRob Herring2-0/+2
2019-06-21libfdt: Replace GPL/BSD boilerplate/reference with SPDX tagsRob Herring13-597/+13
2019-05-21Fix typos in various documentation and source filesThomas Huth1-2/+2
2019-05-10libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speedNicholas Piggin2-14/+33
2019-05-10libfdt: Introduce fdt_create_with_flags()Nicholas Piggin4-3/+67
2019-05-10libfdt: Ensure fdt_add_property frees allocated name string on failureNicholas Piggin2-6/+39
2019-03-29Link tools and tests against libfdt shared libraryDavid Gibson3-0/+6
2019-03-29libfdt: Make fdt_get_max_phandle() an inlineDavid Gibson3-14/+11
2019-03-29libfdt: Add phandle generation helperThierry Reding3-0/+38
2019-03-29libfdt: Use fdt_find_max_phandle()Thierry Reding1-1/+5
2019-03-29libfdt: Add new maximum phandle lookup functionThierry Reding4-15/+47
2019-03-29libfdt: add fdt_append_addrrange()AKASHI Takahiro2-0/+108
2019-03-25Update version.lds againDavid Gibson1-0/+4
2019-03-25Revert "libfdt: Add phandle generation helper"David Gibson4-52/+0
2019-03-21libfdt: Add phandle generation helperThierry Reding4-0/+52
2018-12-23libfdt: Fix FDT_ERR_NOTFOUND typos in documentationGeert Uytterhoeven1-2/+2
2018-12-22libfdt: Fix fdt_getprop_by_offset() parameter name in documentationGeert Uytterhoeven1-1/+1
2018-11-23Remove broken objdir / srcdir supportDavid Gibson1-1/+1
2018-11-23Refine libfdt_clean targetDavid Gibson1-0/+4
2018-11-22libfdt: Don't use memcpy to handle unaligned reads on ARMDavid Gibson1-7/+15
2018-11-07libfdt: return correct value if #size-cells property is not presentJohn Clarke2-4/+14
2018-07-20libfdt: fdt_address_cells() and fdt_size_cells()Sebastian Huber2-23/+14
2018-07-09libfdt: Add necessary header padding in fdt_create()David Gibson1-3/+7
2018-07-09libfdt: Copy the struct region in fdt_resize()Simon Glass1-1/+1
2018-06-26libfdt: Add helpers for accessing unaligned wordsDavid Gibson2-10/+33
2018-06-12pylibfdt: Add functions to update propertiesSimon Glass1-0/+3
2018-06-07libfdt: Add fdt_check_full() functionDavid Gibson2-0/+65
2018-06-07libfdt: Add fdt_header_size()David Gibson2-4/+27
2018-06-07libfdt: Safer access to memory reservationsDavid Gibson1-6/+27
2018-06-07libfdt: Propagate name errors in fdt_getprop_by_offset()David Gibson1-2/+12
2018-06-07libfdt: Safer access to strings sectionDavid Gibson3-5/+76
2018-06-07libfdt: Make fdt_check_header() more thoroughDavid Gibson3-7/+66
2018-06-07libfdt: Improve sequential write state checkingDavid Gibson1-14/+75
2018-06-07libfdt: Clean up header checking functionsDavid Gibson6-39/+50
2018-01-27Add limited read-only support for older (V2 and V3) device tree to libfdt.Nathan Whitehorn3-16/+92
2018-01-10libfdt: overlay: Add missing licenseMaxime Ripard1-0/+51
2017-10-27implement strnlen for systems that need itJohn Arbuckle1-0/+27
2017-10-26libfdt: Remove leading underscores from identifiersDavid Gibson9-120/+120
2017-10-26Fix some errors in commentsDavid Gibson1-1/+1
2017-10-05libfdt: add stringlist functions to linker scriptReiner Huober1-0/+3
2017-08-09fdt: Allow stacked overlays phandle referencesPantelis Antoniou1-22/+206
2017-07-28Introduce fdt_setprop_placeholder() methodPantelis Antoniou2-3/+48
2017-04-09Fix a few whitespace and style nitsSimon Glass4-7/+6
2017-04-02Add a libfdt function to write a property placeholderSimon Glass2-2/+30
2017-03-21Adjust libfdt.h to work with swigSimon Glass1-1/+20
2017-03-06libfdt: overlay: Check the value of the right variableNicolas Iooss1-1/+1
2017-03-06libfdt: Change names of sparse helper macrosDavid Gibson1-13/+13
2017-03-06Fix assorted sparse warningsDavid Gibson1-10/+11
2017-02-24libfdt: Add fdt_setprop_empty()David Gibson1-0/+30
2017-02-24libfdt: Remove undefined behaviour setting empty propertiesDavid Gibson1-1/+2
2016-12-09tests: Correct fdt handling of overlays without fixups and base trees without...David Gibson1-1/+6
2016-11-04libfdt: add missing errors to fdt_strerror()Benjamin Fair1-0/+3
2016-10-17libfdt: fix fdt_stringlist_search()Masahiro Yamada1-1/+1
2016-10-17libfdt: fix fdt_stringlist_count()Masahiro Yamada1-1/+1
2016-10-11libfdt: Add fdt_overlay_apply to the exported symbolsMaxime Ripard1-0/+1
2016-10-11fdt: strerr: Remove spurious BADOVERLAYMaxime Ripard1-1/+0
2016-10-07libfdt: overlay: Fix symbols and fixups nodes conditionMaxime Ripard1-4/+3
2016-10-07libfdt: overlay: Report a bad overlay for mismatching local fixupsMaxime Ripard1-0/+2
2016-10-07libfdt: Add BADPHANDLE error stringMaxime Ripard1-0/+1
2016-10-06libfdt: Don't use 'index' as a local variable nameDavid Gibson1-10/+10
2016-10-06libfdt: Add overlay application functionMaxime Ripard4-1/+703
2016-10-06libfdt: Extend the reach of FDT_ERR_BADPHANDLEMaxime Ripard1-2/+4
2016-10-06libfdt: Add new errors for the overlay codeMaxime Ripard2-1/+13
2016-09-27Fix some typing errors in libfdt.h and livetree.cThomas Huth1-2/+2
2016-08-22libfdt: simplify fdt_del_mem_rsv()Masahiro Yamada1-5/+1
2016-08-01libfdt: Add fdt_setprop_inplace_namelen_partialMaxime Ripard2-4/+46
2016-07-28libfdt: Add fdt_getprop_namelen_wMaxime Ripard1-0/+7
2016-07-28libfdt: Add max phandle retrieval functionMaxime Ripard2-0/+41
2016-07-28libfdt: Add iterator over propertiesMaxime Ripard1-0/+27
2016-07-28libfdt: Add a subnodes iterator macroThierry Reding1-0/+28
2016-03-07Correct a missing space in a fdt_header castSimon Glass1-1/+1
2016-03-07Correct line lengths in libfdt.hSimon Glass1-12/+23
2016-03-07Correct space-after-tab in libfdt.hSimon Glass1-13/+12
2016-02-20libfdt: simplify fdt_node_check_compatible()Masahiro Yamada1-4/+2
2015-12-17libfdt: Fix undefined behaviour in fdt_offset_ptr()David Gibson1-6/+7
2015-12-02libfdt: check for potential overrun in _fdt_splice()Courtney Cavin1-0/+2
2015-12-01libfdt: Add some missing symbols to version.ldsDavid Gibson1-0/+4
2015-09-30fdt: Add functions to retrieve stringsThierry Reding2-0/+73
2015-09-30fdt: Add a function to get the index of a stringThierry Reding2-0/+52
2015-09-30fdt: Add a function to count stringsThierry Reding2-1/+43
2015-08-27libfdt: fix comment block of fdt_get_property_namelen()Masahiro Yamada1-2/+2
2015-04-07libfdt: Add fdt_path_offset_namelen()Peter Hurley3-8/+26
2015-03-18libfdt: Add missing functions to shared libraryJulien Grall1-0/+2
2014-05-12libfdt: Add helpers to read #address-cells and #size-cellsDavid Gibson3-2/+159
2014-01-25libfdt: avoid shadowing "err" in FDT_RW_CHECK_HEADERFlorian Fainelli1-3/+3
2014-01-25libfdt: avoid shadowing "err" in FDT_CHECK_HEADERFlorian Fainelli1-3/+3
2013-10-26libfdt: Add function to resize the buffer for a sequential write treeDavid Gibson2-0/+33
2013-04-28libfdt: Add fdt_next_subnode() to permit easy subnode iterationSimon Glass2-0/+50
2013-02-18Added license header to dtc/libfdt/fdt.h and libfdt_env.hJustin Sobota2-0/+102
2013-02-03Fix typoFrançois Revol1-1/+1
2013-01-27Export fdt_stringlist_contains()Simon Glass2-3/+16
2013-01-06dtc/libfdt: sparse fixesKim Phillips6-23/+23
2013-01-06dtc/libfdt: introduce fdt types for annotation by endian checkersKim Phillips2-32/+63
2012-10-03libfdt: Added missing functions to shared libraryAnders Hedlund1-0/+6
2012-08-22dtc/libfdt: install missing headerYann E. MORIN1-1/+1
2012-06-03libfdt: Add helper function to create a trivial, empty treeDavid Gibson3-1/+86
2012-06-03libfdt: Add helpers for 64-bit integer propertiesDavid Gibson1-23/+170
2012-04-10Remove invalid macro starting with _ from libfdt_env.hBert Kenward1-6/+6
2011-12-05libfdt: Add support for appending the values to a existing propertyMinghuan Lian2-0/+122
2011-10-11libfdt: Add fdt16_to_cpu utility functionAnton Staaf1-0/+6
2011-04-29libfdt: include version number in sonamePaolo Bonzini1-0/+1
2010-03-10libfdt: Implement property iteration functionsDavid Gibson4-36/+200
2009-11-26Support ePAPR compliant phandle propertiesDavid Gibson1-6/+27
2009-03-04libfdt: Fix C++ compile-time cast error on gnu 4.2.1Laurent Gregoire1-1/+1
2009-02-23Fix a possible overflow case detected by gcc 4.3.2Emil Medve1-1/+1
2009-02-06libfdt: Rework/cleanup fdt_next_tag()David Gibson5-47/+44
2009-02-06libfdt: Rework fdt_next_node()David Gibson3-48/+17
2009-01-07libfdt: Fix error in documentation for fdt_get_alias_namelen()David Gibson1-1/+1
2009-01-02libfdt: Introduce libfdt shared libraryJosh Boyer1-0/+1
2009-01-02libfdt: Add version.lds fileJosh Boyer1-0/+54
2008-11-05libfdt: Fix bug in fdt_subnode_offset_namelen()David Gibson1-4/+7
2008-10-02libfdt: Add function to explicitly expand aliasesDavid Gibson2-7/+45
2008-09-25Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.Jon Loeliger2-2/+2
2008-09-25libfdt: Fix bugs in fdt_get_path()David Gibson1-12/+11
2008-08-14libfdt: Add support for using aliases in fdt_path_offset()Kumar Gala1-2/+19
2008-08-13libfdt: Implement fdt_get_property_namelen() and fdt_getprop_namelen()David Gibson2-7/+60
2008-07-31libfdt: Forgot one function when cleaning the namespaceDavid Gibson1-2/+3
2008-07-23libfdt: Fix 'make install' target handling of .h files.Jon Loeliger1-0/+1
2008-07-14libfdt: Improve documentation in libfdt.hWolfram Sang1-14/+14