Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
dee8abcd
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,发现更多精彩内容 >>
提交
dee8abcd
编写于
10月 23, 2014
作者:
T
Tom Rini
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.denx.de/u-boot-x86
上级
21109577
8104f546
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
59 addition
and
11 deletion
+59
-11
README
README
+0
-4
arch/x86/dts/link.dts
arch/x86/dts/link.dts
+18
-0
board/chromebook-x86/coreboot/Makefile
board/chromebook-x86/coreboot/Makefile
+1
-1
board/chromebook-x86/coreboot/coreboot.c
board/chromebook-x86/coreboot/coreboot.c
+16
-0
drivers/misc/cros_ec_lpc.c
drivers/misc/cros_ec_lpc.c
+2
-2
include/configs/coreboot.h
include/configs/coreboot.h
+18
-4
include/fdtdec.h
include/fdtdec.h
+1
-0
lib/fdtdec.c
lib/fdtdec.c
+1
-0
net/tftp.c
net/tftp.c
+2
-0
未找到文件。
README
浏览文件 @
dee8abcd
...
...
@@ -2830,10 +2830,6 @@ CBFS (Coreboot Filesystem) support
Enable auto completion of commands using TAB.
Note that this feature has NOT been implemented yet
for the "hush" shell.
CONFIG_SYS_HUSH_PARSER
Define this variable to enable the "hush" shell (from
...
...
arch/x86/dts/link.dts
浏览文件 @
dee8abcd
...
...
@@ -32,4 +32,22 @@
memory
-
map
=
<
0xff800000
0x00800000
>;
};
};
lpc
{
compatible
=
"intel,lpc"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
cros
-
ec
@
200
{
compatible
=
"google,cros-ec"
;
reg
=
<
0x204
1
0x200
1
0x880
0x80
>;
/*
This
describes
the
flash
memory
within
the
EC
*/
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
flash
@
8000000
{
reg
=
<
0x08000000
0x20000
>;
erase
-
value
=
<
0xff
>;
};
};
};
};
board/chromebook-x86/coreboot/Makefile
浏览文件 @
dee8abcd
...
...
@@ -12,4 +12,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
obj-y
+=
coreboot_start.o
obj-y
+=
coreboot_start.o
coreboot.o
board/chromebook-x86/coreboot/coreboot.c
0 → 100644
浏览文件 @
dee8abcd
/*
* Copyright (C) 2013 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <cros_ec.h>
int
arch_early_init_r
(
void
)
{
if
(
cros_ec_board_init
())
return
-
1
;
return
0
;
}
drivers/misc/cros_ec_lpc.c
浏览文件 @
dee8abcd
...
...
@@ -54,7 +54,7 @@ int cros_ec_lpc_command(struct cros_ec_dev *dev, uint8_t cmd, int cmd_version,
int
csum
;
int
i
;
if
(
dout_len
>
EC_
HOST
_PARAM_SIZE
)
{
if
(
dout_len
>
EC_
PROTO2_MAX
_PARAM_SIZE
)
{
debug
(
"%s: Cannot send %d bytes
\n
"
,
__func__
,
dout_len
);
return
-
1
;
}
...
...
@@ -159,7 +159,7 @@ int cros_ec_lpc_init(struct cros_ec_dev *dev, const void *blob)
byte
=
0xff
;
byte
&=
inb
(
EC_LPC_ADDR_HOST_CMD
);
byte
&=
inb
(
EC_LPC_ADDR_HOST_DATA
);
for
(
i
=
0
;
i
<
EC_
HOST
_PARAM_SIZE
&&
(
byte
==
0xff
);
i
++
)
for
(
i
=
0
;
i
<
EC_
PROTO2_MAX
_PARAM_SIZE
&&
(
byte
==
0xff
);
i
++
)
byte
&=
inb
(
EC_LPC_ADDR_HOST_PARAM
+
i
);
if
(
byte
==
0xff
)
{
debug
(
"%s: CROS_EC device not found on LPC bus
\n
"
,
...
...
include/configs/coreboot.h
浏览文件 @
dee8abcd
...
...
@@ -25,6 +25,7 @@
#define CONFIG_ZBOOT_32
#define CONFIG_PHYSMEM
#define CONFIG_SYS_EARLY_PCI_INIT
#define CONFIG_DISPLAY_BOARDINFO_LATE
#define CONFIG_LMB
#define CONFIG_OF_LIBFDT
...
...
@@ -39,6 +40,7 @@
#define CONFIG_BOOTSTAGE_USER_COUNT 60
#define CONFIG_LZO
#define CONFIG_FIT
#undef CONFIG_ZLIB
#undef CONFIG_GZIP
...
...
@@ -109,7 +111,8 @@
#define CONFIG_CMDLINE_EDITING
#define CONFIG_COMMAND_HISTORY
#define CONFIG_AUTOCOMPLETE
#define CONFIG_AUTO_COMPLETE
#define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SUPPORT_VFAT
/************************************************************
...
...
@@ -192,6 +195,7 @@
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_ZBOOT
#define CONFIG_CMD_ELF
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOOTARGS \
...
...
@@ -208,8 +212,7 @@
* Miscellaneous configurable options
*/
#define CONFIG_SYS_LONGHELP
#define CONFIG_SYS_PROMPT "boot > "
#define CONFIG_SYS_CBSIZE 256
#define CONFIG_SYS_CBSIZE 512
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
sizeof(CONFIG_SYS_PROMPT) + \
16)
...
...
@@ -218,7 +221,7 @@
#define CONFIG_SYS_MEMTEST_START 0x00100000
#define CONFIG_SYS_MEMTEST_END 0x01000000
#define CONFIG_SYS_LOAD_ADDR 0x
1
00000
#define CONFIG_SYS_LOAD_ADDR 0x
020
00000
/*-----------------------------------------------------------------------
* SDRAM Configuration
...
...
@@ -283,6 +286,11 @@
*/
#define CONFIG_PCI
#define CONFIG_CROS_EC
#define CONFIG_CROS_EC_LPC
#define CONFIG_CMD_CROS_EC
#define CONFIG_ARCH_EARLY_INIT_R
/*-----------------------------------------------------------------------
* USB configuration
*/
...
...
@@ -297,6 +305,12 @@
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_USB_ETHER_SMSC95XX
#define CONFIG_TFTP_TSIZE
#define CONFIG_CMD_DHCP
#define CONFIG_BOOTP_BOOTFILESIZE
#define CONFIG_BOOTP_BOOTPATH
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_HOSTNAME
#define CONFIG_CMD_USB
...
...
include/fdtdec.h
浏览文件 @
dee8abcd
...
...
@@ -117,6 +117,7 @@ enum fdt_compat_id {
COMPAT_NXP_PTN3460
,
/* NXP PTN3460 DP/LVDS bridge */
COMPAT_SAMSUNG_EXYNOS_SYSMMU
,
/* Exynos sysmmu */
COMPAT_PARADE_PS8625
,
/* Parade PS8622 EDP->LVDS bridge */
COMPAT_INTEL_LPC
,
/* Intel Low Pin Count I/F */
COMPAT_COUNT
,
};
...
...
lib/fdtdec.c
浏览文件 @
dee8abcd
...
...
@@ -72,6 +72,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT
(
COMPAT_NXP_PTN3460
,
"nxp,ptn3460"
),
COMPAT
(
SAMSUNG_EXYNOS_SYSMMU
,
"samsung,sysmmu-v3.3"
),
COMPAT
(
PARADE_PS8625
,
"parade,ps8625"
),
COMPAT
(
COMPAT_INTEL_LPC
,
"intel,lpc"
),
};
const
char
*
fdtdec_get_compatible
(
enum
fdt_compat_id
id
)
...
...
net/tftp.c
浏览文件 @
dee8abcd
...
...
@@ -299,6 +299,8 @@ static void tftp_complete(void)
putc
(
'#'
);
TftpNumchars
++
;
}
puts
(
" "
);
print_size
(
TftpTsize
,
""
);
#endif
time_start
=
get_timer
(
time_start
);
if
(
time_start
>
0
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录