qca: Removed duplicate header file qca_common.h

Change-Id: I437d016bce46b21a1d93520f4f28cfa7b2f3e3e5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2018-07-31 13:55:34 +05:30 committed by Gerrit - the friendly Code Review server
parent c0b0448441
commit 6eba23c6c0
8 changed files with 9 additions and 42 deletions

View file

@ -58,6 +58,9 @@ int do_dumpqca_flash_data(const char *);
int apps_iscrashed(void);
int set_uuid_bootargs(char *boot_args, char *part_name, int buflen, bool gpt_flag);
int get_eth_mac_address(uchar *enetaddr, uint no_of_macs);
void set_ethmac_addr(void);
struct dumpinfo_t{
char name[16]; /* use only file name in 8.3 format */
uint32_t start;

View file

@ -20,7 +20,7 @@
#include <asm/arch-qca-common/scm.h>
#include <linux/mtd/ubi.h>
#include <part.h>
#include "qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#define FUSEPROV_SUCCESS 0x0
#define FUSEPROV_INVALID_HASH 0x09

View file

@ -17,7 +17,7 @@
#include <part.h>
#include <mmc.h>
#include <asm/arch-qca-common/smem.h>
#include "qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#include <sdhci.h>
#ifdef CONFIG_QCA_MMC

View file

@ -1,36 +0,0 @@
/*
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef ___QCA_COMMON_H_
#define ___QCA_COMMON_H_
typedef struct {
uint base;
uint clk_mode;
struct mmc *mmc;
int dev_num;
} qca_mmc;
int qca_mmc_init(bd_t *, qca_mmc *);
void board_mmc_deinit(void);
int get_eth_mac_address(uchar *enetaddr, uint no_of_macs);
void set_ethmac_addr(void);
#define MSM_SDC1_BASE 0x7824000
#define MMC_IDENTIFY_MODE 0
#define MMC_DATA_TRANSFER_MODE 1
#define MMC_MODE_HC 0x800
#endif /* __QCA_COMMON_H_ */

View file

@ -31,7 +31,7 @@
#include <asm/arch-ipq40xx/ess/ipq40xx_edma.h>
#include <phy.h>
#include "ipq40xx_edma_eth.h"
#include "qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#include "ipq_phy.h"
#include <sdhci.h>

View file

@ -28,7 +28,7 @@
#include <linux/usb/ipq_usb30.h>
#include <linux/usb/dwc3.h>
#include "ipq806x.h"
#include "qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#include <asm/arch-qca-common/scm.h>
#include <asm/arch-qca-common/iomap.h>
#include <asm/io.h>

View file

@ -19,7 +19,7 @@
#include <malloc.h>
#include <asm/io.h>
#include <asm-generic/errno.h>
#include "../../board/qca/arm/common/qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#include "qca_mmc.h"
static inline void qca_reg_wr_delay(qca_mmc *host)

View file

@ -23,7 +23,7 @@
#include "ipq40xx_edma_eth.h"
#include "ipq40xx.h"
#include "ipq_phy.h"
#include "qca_common.h"
#include <asm/arch-qca-common/qca_common.h>
#ifdef DEBUG
#define debugf(fmt, args...) printf(fmt, ##args);
#else