Source
1
+
// SPDX-License-Identifier: GPL-2.0+
1
2
/*
2
3
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
3
-
*
4
-
* SPDX-License-Identifier: GPL-2.0+
5
4
*/
6
5
7
6
#include <common.h>
8
7
#include <altera.h>
9
8
#include <spi.h>
10
9
#include <asm/io.h>
11
10
#include <linux/errno.h>
12
11
13
12
/* Write the RBF data to FPGA via SPI */
14
13
static int program_write(int spi_bus, int spi_dev, const void *rbf_data,