blob: 94e71f58ceb78747241f0964988ca02cfdc35996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2019 Zodiac Inflight Innovation
* Author: Andrey Smirnov <andrew.smirnov@gmail.com>
*/
#include <common.h>
#include <init.h>
#include <asm/memory.h>
#include <linux/sizes.h>
#include <mach/bbu.h>
static int zii_imx8mq_dev_init(void)
{
if (!of_machine_is_compatible("zii,imx8mq-ultra"))
return 0;
barebox_set_hostname("imx8mq-zii-rdu3");
imx8mq_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc0", 0);
return 0;
}
device_initcall(zii_imx8mq_dev_init);
|