mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
qca: ipq: Moved clock header files into include folder
Moved the clock header files into include folder to escape from relative paths. Change-Id: I776141741296e1138e45efb069479a0e26b4855c Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
parent
c2a3c549d3
commit
bdaab34867
6 changed files with 12 additions and 12 deletions
|
|
@ -73,7 +73,6 @@
|
|||
#define PCIE_TIMEOUT_CNT 100
|
||||
#define ENABLE 0x1
|
||||
#define DISABLE 0x0
|
||||
#define BIT(s) (1<<s)
|
||||
|
||||
void emmc_clock_config(int mode);
|
||||
void emmc_clock_disable(void);
|
||||
|
|
@ -97,4 +96,4 @@ void i2c0_configure_mux(void);
|
|||
|
||||
int pcie_clock_enable(int clk_addr);
|
||||
void pcie_clock_disable(int clk_addr);
|
||||
#endif /*QCA_CLK_H*/
|
||||
#endif /*QCA_CLK_H*/
|
||||
|
|
@ -15,6 +15,14 @@
|
|||
#define ___QCA_COMMON_H_
|
||||
#include <asm/u-boot.h>
|
||||
|
||||
#ifdef CONFIG_IPQ807x_I2C
|
||||
#include <asm/arch-ipq807x/clk.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IPQ40XX_I2C
|
||||
#include <asm/arch-ipq40xx/clk.h>
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint base;
|
||||
uint clk_mode;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "clk.h"
|
||||
#include <asm/arch-ipq40xx/clk.h>
|
||||
#include <asm/arch-qcom-common/iomap.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/errno.h>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include "clk.h"
|
||||
#include <asm/arch-ipq807x/clk.h>
|
||||
|
||||
#ifdef CONFIG_IPQ807x_I2C
|
||||
void i2c_clock_config(void)
|
||||
|
|
|
|||
|
|
@ -21,14 +21,7 @@
|
|||
#include <dm/root.h>
|
||||
#include <mapmem.h>
|
||||
#include <dm.h>
|
||||
|
||||
#ifdef CONFIG_IPQ807x_I2C
|
||||
#include "../../board/qca/ipq807x/clk.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IPQ40XX_I2C
|
||||
#include "../../board/qca/ipq40xx/clk.h"
|
||||
#endif
|
||||
#include <asm/arch-qcom-common/qca_common.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue