Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
22b56617
Commit
22b56617
authored
Dec 27, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
how many libfdts are there?
parent
0ca7bcf8
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1419 additions
and
0 deletions
+1419
-0
Makefile
u-boot-tree/lib/libfdt/Makefile
+25
-0
README
u-boot-tree/lib/libfdt/README
+25
-0
fdt.c
u-boot-tree/lib/libfdt/fdt.c
+2
-0
fdt_addresses.c
u-boot-tree/lib/libfdt/fdt_addresses.c
+2
-0
fdt_empty_tree.c
u-boot-tree/lib/libfdt/fdt_empty_tree.c
+2
-0
fdt_overlay.c
u-boot-tree/lib/libfdt/fdt_overlay.c
+2
-0
fdt_region.c
u-boot-tree/lib/libfdt/fdt_region.c
+656
-0
fdt_ro.c
u-boot-tree/lib/libfdt/fdt_ro.c
+682
-0
fdt_rw.c
u-boot-tree/lib/libfdt/fdt_rw.c
+2
-0
fdt_strerror.c
u-boot-tree/lib/libfdt/fdt_strerror.c
+2
-0
fdt_sw.c
u-boot-tree/lib/libfdt/fdt_sw.c
+2
-0
fdt_wip.c
u-boot-tree/lib/libfdt/fdt_wip.c
+2
-0
libfdt_internal.h
u-boot-tree/lib/libfdt/libfdt_internal.h
+1
-0
test_libfdt.py
u-boot-tree/lib/libfdt/test_libfdt.py
+14
-0
No files found.
u-boot-tree/lib/libfdt/Makefile
0 → 100644
View file @
22b56617
# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2000-2007
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
# Use upstream code.
obj-y
+=
\
fdt.o
\
fdt_wip.o
\
fdt_strerror.o
\
fdt_sw.o
\
fdt_rw.o
\
fdt_empty_tree.o
\
fdt_addresses.o
obj-$(CONFIG_OF_LIBFDT_OVERLAY)
+=
fdt_overlay.o
# Locally modified for U-Boot.
# TODO: split out the local modifiction.
obj-y
+=
fdt_ro.o
# U-Boot own file
obj-y
+=
fdt_region.o
ccflags-y
:=
-I
$(srctree)
/scripts/dtc/libfdt
u-boot-tree/lib/libfdt/README
0 → 100644
View file @
22b56617
The libfdt functionality was written by David Gibson. The original
source came from the Git repository:
URL: git://ozlabs.org/home/dgibson/git/libfdt.git
author David Gibson <dgibson@sneetch.(none)>
Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
committer David Gibson <dgibson@sneetch.(none)>
Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
commit 857f54e79f74429af20c2b5ecc00ee98af6a3b8b
tree 2f648f0f88225a51ded452968d28b4402df8ade0
parent 07a12a08005f3b5cd9337900a6551e450c07b515
To adapt for U-Boot usage, only the applicable files were copied and
imported into the U-Boot Git repository.
Omitted:
* GPL - U-Boot comes with a copy of the GPL license
* test subdirectory - not directly useful for U-Boot
After importing, other customizations were performed. See the
"git log" for details.
Jerry Van Baren
u-boot-tree/lib/libfdt/fdt.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt.c"
u-boot-tree/lib/libfdt/fdt_addresses.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_addresses.c"
u-boot-tree/lib/libfdt/fdt_empty_tree.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_empty_tree.c"
u-boot-tree/lib/libfdt/fdt_overlay.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_overlay.c"
u-boot-tree/lib/libfdt/fdt_region.c
0 → 100644
View file @
22b56617
This diff is collapsed.
Click to expand it.
u-boot-tree/lib/libfdt/fdt_ro.c
0 → 100644
View file @
22b56617
This diff is collapsed.
Click to expand it.
u-boot-tree/lib/libfdt/fdt_rw.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_rw.c"
u-boot-tree/lib/libfdt/fdt_strerror.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_strerror.c"
u-boot-tree/lib/libfdt/fdt_sw.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_sw.c"
u-boot-tree/lib/libfdt/fdt_wip.c
0 → 100644
View file @
22b56617
#include <linux/libfdt_env.h>
#include "../../scripts/dtc/libfdt/fdt_wip.c"
u-boot-tree/lib/libfdt/libfdt_internal.h
0 → 100644
View file @
22b56617
#include "../../scripts/dtc/libfdt/libfdt_internal.h"
u-boot-tree/lib/libfdt/test_libfdt.py
0 → 100644
View file @
22b56617
#!/usr/bin/python
import
os
import
sys
our_path
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
sys
.
path
.
append
(
os
.
path
.
join
(
our_path
,
'../../b/sandbox_spl/tools'
))
import
libfdt
with
open
(
'b/sandbox_spl/u-boot.dtb'
)
as
fd
:
fdt
=
fd
.
read
()
print
libfdt
.
fdt_path_offset
(
fdt
,
"/aliases"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment