Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor 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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
25da0b84
Commit
25da0b84
authored
16 years ago
by
Haavard Skinnemoen
Browse files
Options
Downloads
Patches
Plain Diff
favr-32-ezkit: Fix printf format warnings
Signed-off-by:
Haavard Skinnemoen
<
haavard.skinnemoen@atmel.com
>
parent
462da25e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
+1
-1
1 addition, 1 deletion
board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
board/earthlcd/favr-32-ezkit/flash.c
+1
-1
1 addition, 1 deletion
board/earthlcd/favr-32-ezkit/flash.c
include/configs/favr-32-ezkit.h
+1
-1
1 addition, 1 deletion
include/configs/favr-32-ezkit.h
with
3 additions
and
3 deletions
board/earthlcd/favr-32-ezkit/favr-32-ezkit.c
+
1
−
1
View file @
25da0b84
...
...
@@ -75,7 +75,7 @@ phys_size_t initdram(int board_type)
unmap_physmem
(
sdram_base
,
EBI_SDRAM_SIZE
);
if
(
expected_size
!=
actual_size
)
printf
(
"Warning: Only %u of %u MiB SDRAM is working
\n
"
,
printf
(
"Warning: Only %
l
u of %
l
u MiB SDRAM is working
\n
"
,
actual_size
>>
20
,
expected_size
>>
20
);
return
actual_size
;
...
...
This diff is collapsed.
Click to expand it.
board/earthlcd/favr-32-ezkit/flash.c
+
1
−
1
View file @
25da0b84
...
...
@@ -68,7 +68,7 @@ unsigned long flash_init(void)
void
flash_print_info
(
flash_info_t
*
info
)
{
printf
(
"Flash: Vendor ID: 0x%02x, Product ID: 0x%02x
\n
"
,
printf
(
"Flash: Vendor ID: 0x%02
l
x, Product ID: 0x%02
l
x
\n
"
,
info
->
flash_id
>>
16
,
info
->
flash_id
&
0xffff
);
printf
(
"Size: %ld MB in %d sectors
\n
"
,
info
->
size
>>
10
,
info
->
sector_count
);
...
...
This diff is collapsed.
Click to expand it.
include/configs/favr-32-ezkit.h
+
1
−
1
View file @
25da0b84
...
...
@@ -108,7 +108,7 @@
#define CONFIG_AUTOBOOT 1
#define CONFIG_AUTOBOOT_KEYED 1
#define CONFIG_AUTOBOOT_PROMPT \
"Press SPACE to abort autoboot in %d seconds\n"
"Press SPACE to abort autoboot in %d seconds\n"
, bootdelay
#define CONFIG_AUTOBOOT_DELAY_STR "d"
#define CONFIG_AUTOBOOT_STOP_STR " "
...
...
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