summaryrefslogtreecommitdiffstats
path: root/sys/arm/xilinx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/xilinx')
-rw-r--r--sys/arm/xilinx/zy7_machdep.c21
-rw-r--r--sys/arm/xilinx/zy7_slcr.c6
2 files changed, 4 insertions, 23 deletions
diff --git a/sys/arm/xilinx/zy7_machdep.c b/sys/arm/xilinx/zy7_machdep.c
index 4776878..7eb4308 100644
--- a/sys/arm/xilinx/zy7_machdep.c
+++ b/sys/arm/xilinx/zy7_machdep.c
@@ -36,7 +36,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
@@ -94,10 +93,6 @@ platform_devmap_init(void)
}
-struct fdt_fixup_entry fdt_fixup_table[] = {
- { NULL, NULL }
-};
-
#ifndef INTRNG
static int
fdt_gic_decode_ic(phandle_t node, pcell_t *intr, int *interrupt, int *trig,
@@ -120,22 +115,8 @@ fdt_pic_decode_t fdt_pic_table[] = {
};
#endif
-struct arm32_dma_range *
-bus_dma_get_range(void)
-{
-
- return (NULL);
-}
-
-int
-bus_dma_get_range_nb(void)
-{
-
- return (0);
-}
-
void
-cpu_reset()
+cpu_reset(void)
{
if (zynq7_cpu_reset != NULL)
(*zynq7_cpu_reset)();
diff --git a/sys/arm/xilinx/zy7_slcr.c b/sys/arm/xilinx/zy7_slcr.c
index bd0311c..c630fe6 100644
--- a/sys/arm/xilinx/zy7_slcr.c
+++ b/sys/arm/xilinx/zy7_slcr.c
@@ -496,7 +496,7 @@ zy7_pl_fclk_enabled(int unit)
}
int
-zy7_pl_level_shifters_enabled()
+zy7_pl_level_shifters_enabled(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;
@@ -513,7 +513,7 @@ zy7_pl_level_shifters_enabled()
}
void
-zy7_pl_level_shifters_enable()
+zy7_pl_level_shifters_enable(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;
@@ -528,7 +528,7 @@ zy7_pl_level_shifters_enable()
}
void
-zy7_pl_level_shifters_disable()
+zy7_pl_level_shifters_disable(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;
OpenPOWER on IntegriCloud