Module Name: src
Committed By: jmcneill
Date: Wed Dec 16 12:18:34 UTC 2015
Modified Files:
src/sys/arch/evbarm/exynos: exynos_machdep.c
Log Message:
fdt_openfirm_set_data -> fdtbus_set_data
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/exynos/exynos_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/exynos/exynos_machdep.c
diff -u src/sys/arch/evbarm/exynos/exynos_machdep.c:1.4 src/sys/arch/evbarm/exynos/exynos_machdep.c:1.5
--- src/sys/arch/evbarm/exynos/exynos_machdep.c:1.4 Mon Dec 14 22:06:57 2015
+++ src/sys/arch/evbarm/exynos/exynos_machdep.c Wed Dec 16 12:18:34 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_machdep.c,v 1.4 2015/12/14 22:06:57 marty Exp $ */
+/* $NetBSD: exynos_machdep.c,v 1.5 2015/12/16 12:18:34 jmcneill Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exynos_machdep.c,v 1.4 2015/12/14 22:06:57 marty Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_machdep.c,v 1.5 2015/12/16 12:18:34 jmcneill Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_exynos.h"
@@ -105,8 +105,6 @@ __KERNEL_RCSID(0, "$NetBSD: exynos_machd
* made into a linux (not netbsd) uboot image.
*/
#include <libfdt.h>
-#include <dev/fdt/fdt_openfirm.h>
-#include <dev/ofw/openfirm.h>
#include <dev/fdt/fdtvar.h>
#define FDT_BUF_SIZE (128*1024)
static uint8_t fdt_data[FDT_BUF_SIZE];
@@ -412,7 +410,7 @@ initarm(void *arg)
if (error != 0) {
panic("fdt_move failed: %s", fdt_strerror(error));
}
- fdt_openfirm_set_data(fdt_data);
+ fdtbus_set_data(fdt_data);
} else {
panic("fdt_check_header failed: %s", fdt_strerror(error));
}