Skip to contentSkip to conversation

libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c

PATCH New Masahiro Yamada 1 participant 2 messages Apr 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c

There is no essential difference between scripts/dtc/libfdt/fdt_ro.c and lib/libfdt/fdt_ro.c

Migrate to a simple wrapper like the other files.

---

 lib/libfdt/Makefile |   5 +-
 lib/libfdt/fdt_ro.c | 925 +-------------------------------------------
 2 files changed, 2 insertions(+), 928 deletions(-)
lib/libfdt/Makefile +1 -4
index 5d3ae4e2f1..65981a6131 100644
@@ -6,6 +6,7 @@
 # Use upstream code.
 obj-y += \
 	fdt.o \
+	fdt_ro.o \
 	fdt_wip.o \
 	fdt_strerror.o \
 	fdt_sw.o \
@@ -15,10 +16,6 @@ obj-y += \
 
 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
 
lib/libfdt/fdt_ro.c +1 -924

926 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c

Quoted 4 lines · Masahiro Yamada

There is no essential difference between scripts/dtc/libfdt/fdt_ro.c and lib/libfdt/fdt_ro.c

Quoted 8 lines

Migrate to a simple wrapper like the other files.

---

 lib/libfdt/Makefile |   5 +-
 lib/libfdt/fdt_ro.c | 925 +-------------------------------------------
 2 files changed, 2 insertions(+), 928 deletions(-)

I will sync tools/Makefile, too.
Will send v2.

Signature · 2 lines
Best Regards
Masahiro Yamada