Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
u-boot-stm32
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
b96bae0c
Commit
b96bae0c
authored
Nov 27, 2016
by
Yuri Tikhonov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RM-934 dmamem: init and work with defaults until read dtb
Signed-off-by:
Yuri Tikhonov
<
yur@emcraft.com
>
parent
baf11b46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
cpu/arm_cortexm3/stm32/soc.c
cpu/arm_cortexm3/stm32/soc.c
+9
-0
No files found.
cpu/arm_cortexm3/stm32/soc.c
View file @
b96bae0c
...
...
@@ -291,5 +291,14 @@ void cortex_m3_soc_init(void)
#if defined(CONFIG_STM32F7_ICACHE_ON) || defined(CONFIG_STM32F7_DCACHE_ON)
stm32f7_enable_cache
();
#endif
#if defined(CONFIG_DMAMEM)
/*
* Set the default values for now (so that e.g. LCD FB operates
* correctly). The dmamem region may be then reprogrammed after
* obtaining the 'dmamem' params from dtb
*/
dmamem_init
(
CONFIG_DMAMEM_BASE
,
CONFIG_DMAMEM_SZ_ALL
);
#endif
}
#endif
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