blob: 3c12c285946689b5e3b3c5c379acb8859f8c32e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// SPDX-License-Identifier: GPL-2.0-or-later
// SPDX-FileCopyrightText: 2013 Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
#include <common.h>
#include <init.h>
#include <mach/mvebu/bbu.h>
static int cubox_devices_init(void)
{
if (!of_machine_is_compatible("solidrun,cubox"))
return 0;
mvebu_bbu_flash_register_handler("flash", "/dev/m25p0", 0, true);
return 0;
}
device_initcall(cubox_devices_init);
|