Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
8de7ed3a
Commit
8de7ed3a
authored
Mar 11, 2006
by
Wolfgang Denk
Browse files
More GCC 4.x code cleanup
parent
d52fb7e3
Changes
5
Hide whitespace changes
Inline
Side-by-side
board/cobra5272/flash.c
View file @
8de7ed3a
...
...
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return
rc
;
}
volatile
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
{
volatile
u16
*
addr
=
(
volatile
u16
*
)
dest
;
ulong
result
;
...
...
board/m5272c3/flash.c
View file @
8de7ed3a
...
...
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return
rc
;
}
volatile
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
{
volatile
u16
*
addr
=
(
volatile
u16
*
)
dest
;
ulong
result
;
...
...
board/m5282evb/flash.c
View file @
8de7ed3a
...
...
@@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
return
rc
;
}
volatile
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
{
volatile
u16
*
addr
=
(
volatile
u16
*
)
dest
;
ulong
result
;
...
...
board/smdk2400/flash.c
View file @
8de7ed3a
...
...
@@ -353,8 +353,7 @@ outahere:
* Copy memory to flash
*/
volatile
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
{
vu_long
*
addr
=
(
vu_long
*
)
dest
;
ulong
result
;
...
...
board/trab/flash.c
View file @
8de7ed3a
...
...
@@ -308,8 +308,7 @@ outahere:
* Copy memory to flash
*/
volatile
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
static
int
write_word
(
flash_info_t
*
info
,
ulong
dest
,
ulong
data
)
{
vu_long
*
addr
=
(
vu_long
*
)
dest
;
ulong
result
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment