linux/drivers/media/usb/as102/as102_fw.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Abilis Systems Single DVB-T Receiver
 * Copyright (C) 2008 Pierrick Hascoet <[email protected]>
 * Copyright (C) 2010 Devin Heitmueller <[email protected]>
 */
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/firmware.h>

#include "as102_drv.h"
#include "as102_fw.h"

static const char as102_st_fw1[] =;
static const char as102_st_fw2[] =;
static const char as102_dt_fw1[] =;
static const char as102_dt_fw2[] =;

static unsigned char atohx(unsigned char *dst, char *src)
{}

/*
 * Parse INTEL HEX firmware file to extract address and data.
 */
static int parse_hex_line(unsigned char *fw_data, unsigned char *addr,
			  unsigned char *data, int *dataLength,
			  unsigned char *addr_has_changed) {}

static int as102_firmware_upload(struct as10x_bus_adapter_t *bus_adap,
				 unsigned char *cmd,
				 const struct firmware *firmware) {}

int as102_fw_upload(struct as10x_bus_adapter_t *bus_adap)
{}