mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq40xx : Added clock support
Change-Id: Ibbc67578f2d5967eaac7cedefe723b8a389cd809 Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
parent
ba15b4493a
commit
db12b96ef1
5 changed files with 6 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
|
||||
obj-y := ipq40xx.o
|
||||
|
||||
obj-y += clock.o
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch-qcom-common/clk.h>
|
||||
#include <asm/arch-ipq40xx/iomap.h>
|
||||
#include "clk.h"
|
||||
#include <asm/arch-qcom-common/iomap.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/errno.h>
|
||||
|
||||
|
|
@ -204,4 +204,4 @@ int pcie_clock_enable(int clk_addr)
|
|||
void pcie_clock_disable(int clk_addr)
|
||||
{
|
||||
writel(0, clk_addr);
|
||||
}
|
||||
}
|
||||
|
|
@ -62,6 +62,7 @@ typedef struct {
|
|||
|
||||
#ifdef CONFIG_IPQ40XX_I2C
|
||||
typedef struct {
|
||||
unsigned int i2c_base;
|
||||
gpio_func_data_t *i2c_gpio;
|
||||
} i2c_cfg_t;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <compiler.h>
|
||||
|
||||
extern loff_t board_env_offset;
|
||||
extern loff_t board_env_range;
|
||||
extern loff_t board_env_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue