From a8601af2d3728dd94b027ad8b11f4e22fc36d5c6 Mon Sep 17 00:00:00 2001 From: Vasudevan Murugesan Date: Tue, 5 Apr 2016 13:28:37 +0530 Subject: [PATCH] u-boot: Added common target header file Change-Id: Id1ce039d0a64242e04b997df41152d8bf7f42f60 Signed-off-by: Vasudevan Murugesan --- board/qca/common/qca_common.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 board/qca/common/qca_common.h diff --git a/board/qca/common/qca_common.h b/board/qca/common/qca_common.h new file mode 100644 index 0000000000..a2de0ed3b3 --- /dev/null +++ b/board/qca/common/qca_common.h @@ -0,0 +1,29 @@ +/* + * 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); + + +#endif /* __QCA_COMMON_H_ */