Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
3be2bdf5
Commit
3be2bdf5
authored
11 years ago
by
Tom Rini
Browse files
Options
Downloads
Plain Diff
Merge branch 'next' of
git://git.denx.de/u-boot-mpc83xx
parents
df166cc9
283857da
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
board/keymile/common/common.c
+2
-2
2 additions, 2 deletions
board/keymile/common/common.c
board/keymile/common/ivm.c
+2
-2
2 additions, 2 deletions
board/keymile/common/ivm.c
board/keymile/km83xx/km83xx.c
+7
-2
7 additions, 2 deletions
board/keymile/km83xx/km83xx.c
with
11 additions
and
6 deletions
board/keymile/common/common.c
+
2
−
2
View file @
3be2bdf5
...
@@ -226,7 +226,7 @@ U_BOOT_CMD(km_setboardid, 1, 0, do_setboardid, "setboardid", "read out bid and "
...
@@ -226,7 +226,7 @@ U_BOOT_CMD(km_setboardid, 1, 0, do_setboardid, "setboardid", "read out bid and "
* application and in the init scripts (?)
* application and in the init scripts (?)
* return 0 in case of match, 1 if not match or error
* return 0 in case of match, 1 if not match or error
*/
*/
int
do_checkboardidhwk
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
static
int
do_checkboardidhwk
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
char
*
const
argv
[])
char
*
const
argv
[])
{
{
unsigned
long
ivmbid
=
0
,
ivmhwkey
=
0
;
unsigned
long
ivmbid
=
0
,
ivmhwkey
=
0
;
...
@@ -367,7 +367,7 @@ U_BOOT_CMD(km_checkbidhwk, 2, 0, do_checkboardidhwk,
...
@@ -367,7 +367,7 @@ U_BOOT_CMD(km_checkbidhwk, 2, 0, do_checkboardidhwk,
* if the testpin of the board is asserted, return 1
* if the testpin of the board is asserted, return 1
* * else return 0
* * else return 0
*/
*/
int
do_checktestboot
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
static
int
do_checktestboot
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
char
*
const
argv
[])
char
*
const
argv
[])
{
{
int
testpin
=
0
;
int
testpin
=
0
;
...
...
This diff is collapsed.
Click to expand it.
board/keymile/common/ivm.c
+
2
−
2
View file @
3be2bdf5
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include
<i2c.h>
#include
<i2c.h>
#include
"common.h"
#include
"common.h"
int
ivm_calc_crc
(
unsigned
char
*
buf
,
int
len
)
static
int
ivm_calc_crc
(
unsigned
char
*
buf
,
int
len
)
{
{
const
unsigned
short
crc_tab
[
16
]
=
{
const
unsigned
short
crc_tab
[
16
]
=
{
0x0000
,
0xCC01
,
0xD801
,
0x1400
,
0x0000
,
0xCC01
,
0xD801
,
0x1400
,
...
@@ -236,7 +236,7 @@ static int ivm_analyze_block2(unsigned char *buf, int len)
...
@@ -236,7 +236,7 @@ static int ivm_analyze_block2(unsigned char *buf, int len)
return
0
;
return
0
;
}
}
int
ivm_analyze_eeprom
(
unsigned
char
*
buf
,
int
len
)
static
int
ivm_analyze_eeprom
(
unsigned
char
*
buf
,
int
len
)
{
{
unsigned
short
val
;
unsigned
short
val
;
unsigned
char
valbuf
[
CONFIG_SYS_IVM_EEPROM_PAGE_LEN
];
unsigned
char
valbuf
[
CONFIG_SYS_IVM_EEPROM_PAGE_LEN
];
...
...
This diff is collapsed.
Click to expand it.
board/keymile/km83xx/km83xx.c
+
7
−
2
View file @
3be2bdf5
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include
"../common/common.h"
#include
"../common/common.h"
const
qe_iop_conf_t
qe_iop_conf_tab
[]
=
{
static
const
qe_iop_conf_t
qe_iop_conf_tab
[]
=
{
/* port pin dir open_drain assign */
/* port pin dir open_drain assign */
#if defined(CONFIG_MPC8360)
#if defined(CONFIG_MPC8360)
/* MDIO */
/* MDIO */
...
@@ -225,6 +225,11 @@ static struct mv88e_sw_reg extsw_conf[] = {
...
@@ -225,6 +225,11 @@ static struct mv88e_sw_reg extsw_conf[] = {
{
PORT
(
5
),
0x1A
,
0xADB1
},
{
PORT
(
5
),
0x1A
,
0xADB1
},
/* port 6, unused, this port has no phy */
/* port 6, unused, this port has no phy */
{
PORT
(
6
),
PORT_CTRL
,
PORT_DIS
},
{
PORT
(
6
),
PORT_CTRL
,
PORT_DIS
},
/*
* Errata Fix: 1.9V Output from Internal 1.8V Regulator,
* acc . MV-S300889-00D.pdf , clause 4.5
*/
{
PORT
(
5
),
0x1A
,
0xADB1
},
};
};
#endif
#endif
...
@@ -277,7 +282,7 @@ int last_stage_init(void)
...
@@ -277,7 +282,7 @@ int last_stage_init(void)
return
0
;
return
0
;
}
}
int
fixed_sdram
(
void
)
static
int
fixed_sdram
(
void
)
{
{
immap_t
*
im
=
(
immap_t
*
)
CONFIG_SYS_IMMR
;
immap_t
*
im
=
(
immap_t
*
)
CONFIG_SYS_IMMR
;
u32
msize
=
0
;
u32
msize
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment