mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
As the U-boot source is going to be common between ARM and MIPS architecture , it is required to pick only the files specific to the respective architectures during the build. So, move the qca arm target specific common files to another sub level by specifying the ARCH arm. Change-Id: I06b538834109981f21fef6270bfb8e437a2f5a7e Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
33 lines
995 B
C
33 lines
995 B
C
/*
|
|
* Copyright (c) 2012-2013, 2015-2017, 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 __GSBI_H_
|
|
#define __GSBI_H_
|
|
|
|
#include <asm/io.h>
|
|
|
|
/* GSBI Registers */
|
|
#define GSBI_CTRL_REG(base) ((base) + 0x0)
|
|
|
|
#define GSBI_CTRL_REG_PROTOCOL_CODE_S 4
|
|
#define GSBI_PROTOCOL_CODE_I2C 0x2
|
|
#define GSBI_PROTOCOL_CODE_SPI 0x3
|
|
#define GSBI_PROTOCOL_CODE_UART_FLOW 0x4
|
|
#define GSBI_PROTOCOL_CODE_I2C_UART 0x6
|
|
|
|
#define GSBI_HCLK_CTL_S 4
|
|
#define GSBI_HCLK_CTL_CLK_ENA 0x1
|
|
|
|
#endif
|
|
|