mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Change-Id: I5e795ff87d2c7a28ef5bd6cf2bbaabdc26cd48e7 Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
33 lines
917 B
C
33 lines
917 B
C
/*
|
|
* Copyright (c) 2015-2016, 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_
|
|
#include <asm/u-boot.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);
|
|
|
|
#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_ */
|