upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
576 B
24 lines
576 B
/*
|
|
* Copyright (C) 2014 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef ARCH_PLATDEVICE_H
|
|
#define ARCH_PLATDEVICE_H
|
|
|
|
#include <dm/platdata.h>
|
|
#include <dm/platform_data/serial-uniphier.h>
|
|
|
|
#define SERIAL_DEVICE(n, ba, clk) \
|
|
static struct uniphier_serial_platform_data serial_device##n = { \
|
|
.base = ba, \
|
|
.uartclk = clk \
|
|
}; \
|
|
U_BOOT_DEVICE(serial##n) = { \
|
|
.name = DRIVER_NAME, \
|
|
.platdata = &serial_device##n \
|
|
};
|
|
|
|
#endif /* ARCH_PLATDEVICE_H */
|
|
|