]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 273927:
authorandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 Dec 2014 15:33:45 +0000 (15:33 +0000)
committerandrew <andrew@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 14 Dec 2014 15:33:45 +0000 (15:33 +0000)
commit01f76d80d3a0bc7bf4a1f938d8934b8196302ed9
tree6f87507a62957b0ebebea391d52ab8402440dc9f
parent3e87d957fb78171f0a692399d77bea7344adb8cc
MFC 273927:

Move the definitions of the fdt functions from a uboot header to a new fdt
header. There is nothing in the fdt spec that ties it to U-Boot.

While here sort and fix the signature of fdt_setup_fdtp.

MFC 273934:

Start to allow platforms other than U-Boot to use the FDT code in loader by
moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This
needs to be a new library for linking to work correctly.

Differential Revision:  https://reviews.freebsd.org/D1054
Reviewed by:    ian, rpaulo (earlier version)

git-svn-id: svn://svn.freebsd.org/base/stable/10@275763 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
sys/boot/arm/uboot/Makefile
sys/boot/fdt/Makefile
sys/boot/fdt/fdt_loader_cmd.c
sys/boot/fdt/fdt_platform.h [new file with mode: 0644]
sys/boot/powerpc/uboot/Makefile
sys/boot/uboot/Makefile
sys/boot/uboot/common/metadata.c
sys/boot/uboot/fdt/Makefile [new file with mode: 0644]
sys/boot/uboot/fdt/uboot_fdt.c [new file with mode: 0644]
sys/boot/uboot/lib/Makefile
sys/boot/uboot/lib/libuboot.h
sys/boot/uboot/lib/module.c