Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
a0e80c97
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a0e80c97
编写于
9月 04, 2017
作者:
T
Tom Rini
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'rmobile' of
git://git.denx.de/u-boot-sh
上级
ced0fd93
0d0915be
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
48 addition
and
16 deletion
+48
-16
arch/arm/mach-rmobile/pfc-r8a7795.c
arch/arm/mach-rmobile/pfc-r8a7795.c
+42
-0
board/renesas/salvator-x/salvator-x.c
board/renesas/salvator-x/salvator-x.c
+3
-8
board/renesas/ulcb/ulcb.c
board/renesas/ulcb/ulcb.c
+3
-8
未找到文件。
arch/arm/mach-rmobile/pfc-r8a7795.c
浏览文件 @
a0e80c97
...
@@ -2185,6 +2185,27 @@ enum {
...
@@ -2185,6 +2185,27 @@ enum {
FSO_TOEx_MARK
,
FSO_TOEx_MARK
,
TPU0TO1_MARK
,
TPU0TO1_MARK
,
/* IPSR18 */
USB3_PWEN_IMARK
,
AUDIO_CLKOUT2_B_MARK
,
SSI_SCK9_B_MARK
,
TS_SDEN0_E_MARK
,
STP_ISEN_0_E_MARK
,
RIF2_D0_B_MARK
,
TPU0TO2_MARK
,
FMCLK_C_MARK
,
FMCLK_D_MARK
,
USB3_OVC_IMARK
,
AUDIO_CLKOUT3_B_MARK
,
SSI_WS9_B_MARK
,
TS_SPSYNC0_E_MARK
,
STP_ISSYNC_0_E_MARK
,
RIF2_D1_B_MARK
,
TPU0TO3_MARK
,
FMIN_C_MARK
,
FMIN_D_MARK
,
PINMUX_MARK_END
,
PINMUX_MARK_END
,
};
};
...
@@ -3288,6 +3309,27 @@ static struct pinmux_gpio pinmux_gpios[] = {
...
@@ -3288,6 +3309,27 @@ static struct pinmux_gpio pinmux_gpios[] = {
GPIO_FN
(
RIF3_D1_B
),
GPIO_FN
(
RIF3_D1_B
),
GPIO_FN
(
FSO_TOEx
),
GPIO_FN
(
FSO_TOEx
),
GPIO_FN
(
TPU0TO1
),
GPIO_FN
(
TPU0TO1
),
/* IPSR18 */
GPIO_IFN
(
USB3_PWEN
),
GPIO_FN
(
AUDIO_CLKOUT2_B
),
GPIO_FN
(
SSI_SCK9_B
),
GPIO_FN
(
TS_SDEN0_E
),
GPIO_FN
(
STP_ISEN_0_E
),
GPIO_FN
(
RIF2_D0_B
),
GPIO_FN
(
TPU0TO2
),
GPIO_FN
(
FMCLK_C
),
GPIO_FN
(
FMCLK_D
),
GPIO_IFN
(
USB3_OVC
),
GPIO_FN
(
AUDIO_CLKOUT3_B
),
GPIO_FN
(
SSI_WS9_B
),
GPIO_FN
(
TS_SPSYNC0_E
),
GPIO_FN
(
STP_ISSYNC_0_E
),
GPIO_FN
(
RIF2_D1_B
),
GPIO_FN
(
TPU0TO3
),
GPIO_FN
(
FMIN_C
),
GPIO_FN
(
FMIN_D
),
};
};
static
struct
pinmux_cfg_reg
pinmux_config_regs
[]
=
{
static
struct
pinmux_cfg_reg
pinmux_config_regs
[]
=
{
...
...
board/renesas/salvator-x/salvator-x.c
浏览文件 @
a0e80c97
...
@@ -116,7 +116,7 @@ int board_init(void)
...
@@ -116,7 +116,7 @@ int board_init(void)
/* USB1 pull-up */
/* USB1 pull-up */
setbits_le32
(
PFC_PUEN6
,
PUEN_USB1_OVC
|
PUEN_USB1_PWEN
);
setbits_le32
(
PFC_PUEN6
,
PUEN_USB1_OVC
|
PUEN_USB1_PWEN
);
#ifdef CONFIG_RAVB
#ifdef CONFIG_R
ENESAS_R
AVB
/* EtherAVB Enable */
/* EtherAVB Enable */
/* GPSR2 */
/* GPSR2 */
gpio_request
(
GPIO_GFN_AVB_AVTP_CAPTURE_A
,
NULL
);
gpio_request
(
GPIO_GFN_AVB_AVTP_CAPTURE_A
,
NULL
);
...
@@ -158,12 +158,7 @@ int board_init(void)
...
@@ -158,12 +158,7 @@ int board_init(void)
udelay
(
1
);
udelay
(
1
);
#endif
#endif
return
0
;
#ifdef CONFIG_MMC
}
#ifdef CONFIG_SH_SDHI
int
board_mmc_init
(
bd_t
*
bis
)
{
/* SDHI0 */
/* SDHI0 */
gpio_request
(
GPIO_GFN_SD0_DAT0
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT0
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT1
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT1
,
NULL
);
...
@@ -227,10 +222,10 @@ int board_mmc_init(bd_t *bis)
...
@@ -227,10 +222,10 @@ int board_mmc_init(bd_t *bis)
gpio_request
(
GPIO_GP_3_14
,
NULL
);
gpio_request
(
GPIO_GP_3_14
,
NULL
);
gpio_direction_output
(
GPIO_GP_3_15
,
1
);
/* power on */
gpio_direction_output
(
GPIO_GP_3_15
,
1
);
/* power on */
gpio_direction_output
(
GPIO_GP_3_14
,
1
);
/* 1: 3.3V, 0: 1.8V */
gpio_direction_output
(
GPIO_GP_3_14
,
1
);
/* 1: 3.3V, 0: 1.8V */
#endif
return
0
;
return
0
;
}
}
#endif
int
dram_init
(
void
)
int
dram_init
(
void
)
{
{
...
...
board/renesas/ulcb/ulcb.c
浏览文件 @
a0e80c97
...
@@ -105,7 +105,7 @@ int board_init(void)
...
@@ -105,7 +105,7 @@ int board_init(void)
/* USB1 pull-up */
/* USB1 pull-up */
setbits_le32
(
PFC_PUEN6
,
PUEN_USB1_OVC
|
PUEN_USB1_PWEN
);
setbits_le32
(
PFC_PUEN6
,
PUEN_USB1_OVC
|
PUEN_USB1_PWEN
);
#ifdef CONFIG_RAVB
#ifdef CONFIG_R
ENESAS_R
AVB
/* EtherAVB Enable */
/* EtherAVB Enable */
/* GPSR2 */
/* GPSR2 */
gpio_request
(
GPIO_GFN_AVB_AVTP_CAPTURE_A
,
NULL
);
gpio_request
(
GPIO_GFN_AVB_AVTP_CAPTURE_A
,
NULL
);
...
@@ -137,12 +137,7 @@ int board_init(void)
...
@@ -137,12 +137,7 @@ int board_init(void)
udelay
(
1
);
udelay
(
1
);
#endif
#endif
return
0
;
#ifdef CONFIG_MMC
}
#ifdef CONFIG_SH_SDHI
int
board_mmc_init
(
bd_t
*
bis
)
{
/* SDHI0 */
/* SDHI0 */
gpio_request
(
GPIO_GFN_SD0_DAT0
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT0
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT1
,
NULL
);
gpio_request
(
GPIO_GFN_SD0_DAT1
,
NULL
);
...
@@ -179,10 +174,10 @@ int board_mmc_init(bd_t *bis)
...
@@ -179,10 +174,10 @@ int board_mmc_init(bd_t *bis)
gpio_request
(
GPIO_GP_5_9
,
NULL
);
gpio_request
(
GPIO_GP_5_9
,
NULL
);
gpio_direction_output
(
GPIO_GP_5_3
,
0
);
/* 1: 3.3V, 0: 1.8V */
gpio_direction_output
(
GPIO_GP_5_3
,
0
);
/* 1: 3.3V, 0: 1.8V */
gpio_direction_output
(
GPIO_GP_5_9
,
0
);
/* 1: 3.3V, 0: 1.8V */
gpio_direction_output
(
GPIO_GP_5_9
,
0
);
/* 1: 3.3V, 0: 1.8V */
#endif
return
0
;
return
0
;
}
}
#endif
int
dram_init
(
void
)
int
dram_init
(
void
)
{
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录