aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2015-08-22 05:50:18 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2015-08-22 05:50:18 +0000
commit6aabc119b6e4a0310cd41b807b543ad495cc0dda (patch)
tree80d83f2737cf72f74148d576621482cfdacbea7a /sys/dev/fdt
parentc4f0631f19a17e8c00cfc6fd92241f27e6dfb818 (diff)
downloadsrc-6aabc119b6e4a0310cd41b807b543ad495cc0dda.tar.gz
src-6aabc119b6e4a0310cd41b807b543ad495cc0dda.zip
Create a RouterBoard platform and use it to create a flash map
Summary: The RouterBoard uses a predefined partition map which doesn't exist in the fdt. This change allows overriding the fdt slicer with a custom slicer, and uses this custom slicer to define the flash map on the RouterBoard RB800. D3305 converts the mpc85xx platform into a base class, so that systems based on the mpc85xx platform can add their own overrides. This change builds on D3305, and creates a RouterBoard (RB800) platform to initialize the slicer override. Reviewed By: nwhitehorn, imp Differential Revision: https://reviews.freebsd.org/D3345
Notes
Notes: svn path=/head/; revision=287013
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/fdt_slicer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_slicer.c b/sys/dev/fdt/fdt_slicer.c
index 9f65f73f747d..7e385c15c5d3 100644
--- a/sys/dev/fdt/fdt_slicer.c
+++ b/sys/dev/fdt/fdt_slicer.c
@@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
#endif
int
-flash_fill_slices(device_t dev, struct flash_slice *slices, int *slices_num)
+fdt_flash_fill_slices(device_t dev, struct flash_slice *slices, int *slices_num)
{
char *slice_name;
phandle_t dt_node, dt_child;