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
398 B
24 lines
398 B
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* (C) Copyright 2013
|
|
* Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <gdsys_fpga.h>
|
|
|
|
#include <asm/io.h>
|
|
|
|
int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data)
|
|
{
|
|
out_le16(reg, data);
|
|
|
|
return 0;
|
|
}
|
|
|
|
int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data)
|
|
{
|
|
*data = in_le16(reg);
|
|
|
|
return 0;
|
|
}
|
|
|