Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
u-boot-stm32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
78ef39e3
Commit
78ef39e3
authored
Oct 24, 2018
by
Sami Nurmenniemi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inline weak compiler errors
parent
7be7949b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
common/main.c
common/main.c
+1
-0
lib_arm/board.c
lib_arm/board.c
+1
-0
No files found.
common/main.c
View file @
78ef39e3
...
...
@@ -47,6 +47,7 @@ DECLARE_GLOBAL_DATA_PTR;
/*
* Board-specific Platform code can reimplement show_boot_progress () if needed
*/
#define inline inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
void
inline
__show_boot_progress
(
int
val
)
{}
void
show_boot_progress
(
int
val
)
__attribute__
((
weak
,
alias
(
"__show_boot_progress"
)));
...
...
lib_arm/board.c
View file @
78ef39e3
...
...
@@ -92,6 +92,7 @@ extern void rtl8019_get_enetaddr (uchar * addr);
************************************************************************
* May be supplied by boards if desired
*/
#define inline inline __attribute__((always_inline)) __attribute__((__gnu_inline__))
void
inline
__coloured_LED_init
(
void
)
{}
void
coloured_LED_init
(
void
)
__attribute__
((
weak
,
alias
(
"__coloured_LED_init"
)));
void
inline
__red_LED_on
(
void
)
{}
...
...
Write
Preview
Markdown
is supported
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