aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/fdt.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-12of: Move all FDT reserved-memory handling into of_reserved_mem.cRob Herring1-122/+1
2024-03-08of: Create of_root if no dtb provided by firmwareFrank Rowand1-1/+31
2024-03-08of: Always unflatten in unflatten_and_copy_device_tree()Stephen Boyd1-15/+17
2023-05-05Merge tag 'devicetree-fixes-for-6.4-1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+3
2023-04-27of: fdt: Scan /memreserve/ lastLucas Tanure1-2/+3
2023-04-18riscv: Use PUD/P4D/PGD pages for the linear mappingAlexandre Ghiti1-5/+6
2023-01-31Revert "mm: kmemleak: alloc gray object for reserved region with direct map"Isaac J. Manjarres1-5/+1
2023-01-04of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2Rob Herring1-13/+15
2023-01-04Revert "of: fdt: Honor CONFIG_CMDLINE* even without /chosen node"Rob Herring1-20/+20
2023-01-03of/fdt: run soc memory setup when early_init_dt_scan_memory failsAndreas Rammhold1-2/+4
2022-12-16of: fdt: Honor CONFIG_CMDLINE* even without /chosen nodeAlexander Sverdlin1-20/+20
2022-10-10Merge tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+5
2022-09-29of: fdt: Remove unused struct fdt_scan_statusYuan Can1-9/+0
2022-09-09of/fdt: Don't calculate initrd size from DT if start > endMarek Bykowski1-0/+2
2022-08-22of: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3
2022-08-16of: fdt: fix off-by-one error in unflatten_dt_nodes()Sergey Shtylyov1-1/+1
2022-08-08Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+3
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2022-08-01of/fdt: declared return type does not match actual return typeXu Qiang1-1/+1
2022-07-25of/fdt: Clean up early_init_dt_reserve_memory_arch()Peter Collingbourne1-7/+6
2022-06-30earlycon: prevent multiple register_console()Michael Walle1-1/+3
2022-06-28of: reserved-memory: Print allocation/reservation failures as errorVincent Whitchurch1-2/+2
2022-06-16mm: kmemleak: remove kmemleak_not_leak_phys() and the min_count argument to k...Patrick Wang1-1/+1
2022-05-25Merge tag 'devicetree-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+3
2022-05-17of/fdt: Ignore disabled memory nodesAndre Przywara1-0/+3
2022-05-07of: fdt: Add memory for devices by DT property "linux,usable-memory-range"Chen Zhou1-10/+23
2022-02-17of/fdt: move elfcorehdr reservation early for crash dump kernelNikhil Gupta1-1/+1
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+5
2022-01-15mm: kmemleak: alloc gray object for reserved region with direct mapCalvin Zhang1-1/+5
2022-01-12Merge branch 'dt/linus' into dt/nextRob Herring1-6/+13
2022-01-08of/fdt: Don't worry about non-memory region overlap for no-mapStephen Boyd1-2/+4
2021-12-22efi: apply memblock cap after memblock_add()Pingfan Liu1-1/+1
2021-12-22of: fdt: Aggregate the processing of "linux,usable-memory-range"Zhen Lei1-6/+13
2021-12-16of/fdt: Rework early_init_dt_scan_memory() to call directlyRob Herring1-32/+36
2021-12-16of/fdt: Rework early_init_dt_scan_root() to call directlyRob Herring1-7/+7
2021-12-16of/fdt: Rework early_init_dt_scan_chosen() to call directlyRob Herring1-20/+19
2021-11-01of/fdt: Remove of_scan_flat_dt() usage for __fdt_scan_reserved_mem()Rob Herring1-28/+24
2021-08-25of: fdt: Rename reserve_elfcorehdr() to fdt_reserve_elfcorehdr()Geert Uytterhoeven1-3/+3
2021-08-24of: fdt: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD) instead of #ifdefGeert Uytterhoeven1-6/+3
2021-08-24of: fdt: Add generic support for handling usable memory range propertyGeert Uytterhoeven1-0/+30
2021-08-24of: fdt: Add generic support for handling elf core headers propertyGeert Uytterhoeven1-3/+56
2021-08-15of: fdt: Remove weak early_init_dt_mark_hotplug_memory_arch()Geert Uytterhoeven1-6/+1
2021-08-15of: fdt: Remove early_init_dt_reserve_memory_arch() override capabilityGeert Uytterhoeven1-16/+16
2021-08-03of: fdt: do not update local variable after useOhhoon Kwon1-1/+0
2021-07-15of: fdt: remove unnecessary codes권오훈1-3/+0
2021-06-16of: Remove superfluous casts when printing u64 valuesGeert Uytterhoeven1-4/+2
2021-06-16of: Fix truncation of memory sizes on 32-bit platformsGeert Uytterhoeven1-4/+4
2021-04-28Merge tag 'devicetree-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-20/+20
2021-04-07of: properly check for error returned by fdt_get_name()Frank Rowand1-13/+23
2021-03-27of: Add missing 'Return' section in kerneldoc commentsRob Herring1-4/+4
2021-03-27of: Fix kerneldoc output formattingRob Herring1-5/+4
2021-03-23of: fdt: Demote kernel-doc abuses and fix function namingLee Jones1-11/+12
2021-01-15of/fdt: Make sure no-map does not remove already reserved regionsNicolas Boichat1-1/+9
2021-01-15fdt: Properly handle "no-map" field in the memory regionKarimAllah Ahmed1-1/+1
2020-12-04earlycon: simplify earlycon-table implementationJohan Hovold1-5/+2
2020-05-28of/fdt: Remove redundant kbasename function callQi Zheng1-4/+0
2020-05-19drivers/of: keep description of function consistent with function namechenqiwu1-1/+1
2020-04-20of: fix the warnings from command line.tangjianqiang1-1/+1
2019-12-02Merge tag 'devicetree-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2019-11-25Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-10/+10
2019-10-18of: Use pr_warn instead of pr_warningKefeng Wang1-10/+10
2019-10-01of/fdt: don't ignore errors from of_setup_earlyconChristoph Hellwig1-2/+2
2019-08-27fdt: Update CRC check for rng-seedHsin-Yi Wang1-2/+6
2019-08-23fdt: add support for rng-seedHsin-Yi Wang1-2/+12
2019-07-08of/fdt: pass early_init_dt_reserve_memory_arch() with bool type nomapMasahiro Yamada1-3/+4
2019-06-18of/fdt: Fix ‘of_fdt_match’ defined but not used compiler warningKefeng Wang1-54/+45
2019-05-24of/fdt: Mark initial_boot_params as __ro_after_initStephen Boyd1-1/+1
2019-05-24of/fdt: Remove dead code and mark functions with __initStephen Boyd1-32/+5
2019-04-29of: del redundant type conversionxiaojiangfeng1-1/+1
2019-03-12treewide: add checks for the return value of memblock_alloc*()Mike Rapoport1-1/+7
2019-01-10of: Remove struct device_node.type pointerRob Herring1-4/+0
2018-12-03OF: Add a warning in case chosen node is not presentNick Kossifidis1-1/+5
2018-11-26of/fdt: Remove custom __early_init_dt_declare_initrd() implementationFlorian Fainelli1-5/+10
2018-11-26of/fdt: Populate phys_initrd_start/phys_initrd_size from FDTFlorian Fainelli1-0/+2
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+0
2018-10-31memblock: remove _virt from APIs returning virtual addressMike Rapoport1-1/+1
2018-10-31mm: remove CONFIG_HAVE_MEMBLOCKMike Rapoport1-21/+0
2018-10-26of: ignore sub-page memory regionsMike Rapoport1-5/+6
2018-08-07of/fdt: Remove PPC32 longtrail hack in memory scanMichael Ellerman1-8/+1
2018-04-23earlycon: Use a pointer table to fix __earlycon_table strideDaniel Kurtz1-2/+5
2018-01-08of/fdt: use memblock_virt_alloc for early allocRob Herring1-12/+4
2018-01-08of: Use SPDX license tag for DT filesRob Herring1-4/+1
2017-10-16of/fdt: Document detached argument to __unflatten_device_tree()Stephen Boyd1-0/+1
2017-10-16of/fdt: skip unflattening of disabled nodesRob Herring1-0/+4
2017-10-16of/fdt: add of_fdt_device_is_available functionRob Herring1-3/+14
2017-10-03of/fdt: only store the device node basename in full_nameRob Herring1-58/+11
2017-07-07Merge tag 'devicetree-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2017-06-22of: fdt.c header comment typoFrank Rowand1-1/+1
2017-06-22of: make of_fdt_is_compatible() staticFrank Rowand1-1/+1
2017-05-19Merge tag 'devicetree-fixes-for-4.12' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+3
2017-05-17of: fdt: add missing allocation-failure checkJohan Hovold1-0/+3
2017-05-12Merge tag 'powerpc-4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+38
2017-05-09of/fdt: introduce of_scan_flat_dt_subnodes and of_get_flat_dt_phandleNicholas Piggin1-0/+38
2017-05-04of: fix sparse warnings in fdt, irq, reserved mem, and resolver codeRob Herring1-2/+2
2017-04-27of: Add unit tests for applying overlaysFrank Rowand1-5/+9
2017-02-22Merge tag 'devicetree-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2017-02-09of: Add missing space at end of pr_fmt().Frank Rowand1-1/+1
2017-01-03of: Add check to of_scan_flat_dt() before accessing initial_boot_paramsTobias Wolf1-3/+6
2016-12-12of/fdt: mark hotpluggable memoryReza Arbab1-0/+19
2016-09-28of/serial: move earlycon early_param handling to serialLeif Lindholm1-10/+1
2016-08-09drivers/of: Validate device node in __unflatten_device_tree()Gavin Shan1-1/+1
2016-07-30Merge tag 'devicetree-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+16
2016-07-18of: fdt: mark unflattened tree as detachedMichal Suchanek1-3/+10
2016-07-18of: use pr_fmt prefix for all console printingRob Herring1-6/+6
2016-07-06FDT: Add a helper to get the subnode by given nameShannon Zhao1-0/+13
2016-06-09drivers/of: Fix depth for sub-tree blob in unflatten_dt_nodes()Gavin Shan1-2/+13
2016-05-19drivers/of: Fix build warning in populate_node()Gavin Shan1-8/+8
2016-05-19drivers/of: Fix depth when unflattening devicetreeRhyland Klein1-9/+9
2016-05-16drivers/of: Return allocated memory from of_fdt_unflatten_tree()Gavin Shan1-11/+22
2016-05-16drivers/of: Specify parent node in of_fdt_unflatten_tree()Gavin Shan1-4/+10
2016-05-16drivers/of: Rename unflatten_dt_node()Gavin Shan1-7/+7
2016-05-16drivers/of: Avoid recursively calling unflatten_dt_node()Gavin Shan1-48/+74
2016-05-16drivers/of: Split unflatten_dt_node()Gavin Shan1-102/+147
2016-04-19fdt: fix extend of cmd lineMax Uvarov1-2/+8
2016-03-17Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-4/+15
2016-02-18of/fdt: factor out assignment of initrd_start/initrd_endArd Biesheuvel1-3/+11
2016-02-18of/fdt: make memblock minimum physical address arch configurableArd Biesheuvel1-1/+4
2016-02-06of: earlycon: Log more helpful message if stdout-path node not foundPeter Hurley1-3/+6
2016-02-06of: earlycon: Move address translation to of_setup_earlycon()Peter Hurley1-7/+1
2016-02-06of: earlycon: Initialize port fields from DT propertiesPeter Hurley1-1/+1
2016-02-06of: earlycon: Add options string handlingPeter Hurley1-5/+6
2016-02-06of: earlycon: Fixup earlycon console name and indexPeter Hurley1-1/+1
2016-02-06earlycon: Use common framework for earlycon declarationsPeter Hurley1-7/+7
2015-12-08of/fdt: Add mutex protection for calls to __unflatten_device_tree()Guenter Roeck1-0/+5
2015-11-30of: do not use 0x in front of %paDmitry V. Krivenok1-1/+1
2015-10-30drivers: of: removing assignment of 0 to static variableSaurabh Sengar1-1/+1
2015-10-27of/fdt: fix error checking for earlycon addressMasahiro Yamada1-2/+3
2015-10-13of/fdt: fix aliases with baudrate in earlyconStefan Agner1-1/+4
2015-08-24of/fdt: make memblock maximum physical address arch configurableArd Biesheuvel1-5/+7
2015-07-01Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+18
2015-06-30Merge remote-tracking branch 'robh/for-next' into devicetree/nextGrant Likely1-3/+14
2015-06-18dt/fdt: add empty versions of early_init_dt_*_memory_archRob Herring1-0/+11
2015-06-04of/fdt: fix argument name and add comments of unflatten_dt_node()Masahiro Yamada1-1/+4
2015-06-02of/fdt: split off FDT self reservation from memreserve processingArd Biesheuvel1-5/+14
2015-05-28of/fdt: Make fdt blob input parameters of unflatten functions constGeert Uytterhoeven1-3/+3
2015-04-14of/fdt: fix allocation size for device node pathRicky Liang1-1/+1
2015-04-14of/fdt: Add endianness helper function for early init codeKevin Cernekee1-0/+19
2015-04-14of/fdt: Remove "reg" data prints from early_init_dt_scan_memoryFlorian Fainelli1-2/+1
2015-02-04of/fdt: fix sparse warningLad, Prabhakar1-1/+1
2014-12-11Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-44/+67
2014-12-03of: Drop ->next pointer from struct device_nodeGrant Likely1-6/+18
2014-11-26of/fdt: memblock_reserve /memreserve/ regions in the case of partial overlapIan Campbell1-2/+0
2014-11-24Merge tag 'v3.18-rc6' into devicetree/nextGrant Likely1-1/+1
2014-11-19of/fdt: export fdt blob as /sys/firmware/fdtArd Biesheuvel1-16/+27
2014-11-18of: Fix crash if an earlycon driver is not foundKevin Cernekee1-1/+1
2014-11-04of: check for size < 0 after rounding in early_init_dt_add_memory_archArd Biesheuvel1-0/+5
2014-11-04of/fdt: Don't clear initial_boot_params if fdt_check_header() failsBjorn Helgaas1-6/+3
2014-11-04of: Eliminate of_allnodes listGrant Likely1-16/+14
2014-09-25of/fdt: fix memory range checkSrinivas Kandagatla1-4/+4
2014-09-08of: Fix memory block alignment in early_init_dt_add_memory_arch()Geert Uytterhoeven1-1/+5
2014-08-16of: Allow mem_reserve of memory with a base address of zeroAl Cooper1-1/+1
2014-08-14Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-11/+11
2014-08-01of: Use proper types for checking memory overflowLaura Abbott1-11/+11
2014-07-29of: Add memory limiting function for flattened devicetreesLaura Abbott1-0/+48
2014-07-29of: Split early_init_dt_scan into two partsLaura Abbott1-1/+17
2014-06-26of: Check for phys_addr_t overflows in early_init_dt_add_memory_archLaura Abbott1-0/+15
2014-05-28Merge branch 'earlycon-dt' into for-nextRob Herring1-0/+56
2014-05-23of: Handle memory@0 node on PPC32 onlyLeif Lindholm1-1/+1
2014-05-23of: Use NULL for pointersThierry Reding1-1/+1
2014-05-20of/fdt: add FDT serial scanning for earlyconRob Herring1-0/+56
2014-04-30of/fdt: convert initial_boot_params to opaque pointerRob Herring1-1/+1
2014-04-30of/fdt: introduce of_get_flat_dt_sizeRob Herring1-0/+8
2014-04-30of/fdt: fix phys_addr_t related print size warningsRob Herring1-2/+2
2014-04-30of/fdt: move memreserve and dtb memory reservations into coreRob Herring1-0/+16
2014-04-30of/fdt: create common debugfsRob Herring1-0/+24
2014-04-30of/fdt: use libfdt accessors for header dataRob Herring1-14/+12
2014-04-30of/fdt: Convert FDT functions to use libfdtRob Herring1-152/+57
2014-04-30of/fdt: update of_get_flat_dt_prop in prep for libfdtRob Herring1-19/+20
2014-04-30of/fdt: remove unused of_scan_flat_dt_by_pathRob Herring1-67/+0
2014-04-30of/fdt: remove some unneeded includesRob Herring1-5/+0
2014-04-14of: Fix the section mismatch warnings.Xiubo Li1-1/+1
2014-03-19Merge branch 'devicetree/next-reserved-mem' into devicetree/nextGrant Likely1-0/+143
2014-03-19of: device_node kobject lifecycle fixesPantelis Antoniou1-2/+1
2014-03-15of: only scan for reserved mem when fdt presentJosh Cartwright1-0/+3
2014-03-11of: Make device nodes kobjects so they show up in sysfsGrant Likely1-1/+2
2014-03-11drivers: of: add initialization code for dynamic reserved memoryMarek Szyprowski1-2/+11
2014-03-11drivers: of: add initialization code for static reserved memoryMarek Szyprowski1-0/+131
2013-12-11of: Fix NULL dereference in unflatten_and_copy()James Hogan1-2/+10
2013-11-12Merge tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+135
2013-10-14Revert "of: Feed entire flattened device tree into the random pool"Grant Likely1-12/+0
2013-10-09of: introduce common FDT machine related functionsRob Herring1-0/+60
2013-10-09of: remove early_init_dt_setup_initrd_archRob Herring1-3/+6
2013-10-09of: create default early_init_dt_add_memory_archRob Herring1-0/+19
2013-10-09of: Introduce common early_init_dt_scanRob Herring1-0/+26
2013-10-09of: create unflatten_and_copy_device_treeRob Herring1-0/+24
2013-09-10Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-38/+60
2013-09-09Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma...Linus Torvalds1-0/+76
2013-08-30of: Feed entire flattened device tree into the random poolAnton Blanchard1-0/+12
2013-08-30of/fdt: Clean up casting in unflattening pathGrant Likely1-33/+30
2013-08-29of/fdt: Remove duplicate memory clearing on FDT unflatteningGrant Likely1-1/+0
2013-08-28of: consolidate definition of early_init_dt_alloc_memory_arch()Grant Likely1-0/+12
2013-08-28Merge tag 'v3.11-rc7' into devicetree/nextGrant Likely1-0/+2
2013-08-27drivers: of: add function to scan fdt nodes given by pathMarek Szyprowski1-0/+76
2013-08-21of: fdt: fix memory initialization for expanded DTWladislav Wiebe1-0/+2
2013-07-24of: Specify initrd location using 64-bitSantosh Shilimkar1-4/+6
2013-06-18open firmware: "/aliasas" -> "/aliases"Robert P. J. Day1-1/+1
2012-12-17drivers/of/fdt.c: re-use kernel's kbasename()Andy Shevchenko1-8/+2
2012-11-30Fix build when CONFIG_W1_MASTER_GPIO=m b exporting "allnodes"Randy Dunlap1-1/+1
2012-11-20of/fdt: NULL-terminate the root node pathCatalin Marinas1-1/+2
2012-11-20of: fdt: Constify 'pathp'Fabio Estevam1-2/+2