Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-stm32
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Sami Nurmenniemi
u-boot-stm32
Commits
92d11ff3
Commit
92d11ff3
authored
14 years ago
by
Vladimir Khusainov
Browse files
Options
Downloads
Patches
Plain Diff
RT67511 U-Boot configuration for external RAM and Flash.
parent
4edb8bfd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/configs/a2f-actel-dev-brd.h
+15
-15
15 additions, 15 deletions
include/configs/a2f-actel-dev-brd.h
with
15 additions
and
15 deletions
include/configs/a2f-actel-dev-brd.h
+
15
−
15
View file @
92d11ff3
...
...
@@ -48,8 +48,8 @@
*/
#define CONFIG_SYS_BOARD_REV 0x18
#if (
CONFIG_SYS_BOARD_REV!=0x33 &&
CONFIG_SYS_BOARD_REV!=0x18)
#error CONFIG_SYS_BOARD_REV must be
33 or
18
#if (CONFIG_SYS_BOARD_REV!=0x18)
#error CONFIG_SYS_BOARD_REV must be 18
#endif
/*
...
...
@@ -109,7 +109,7 @@
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_RAM_BASE 0x70000000
#if (CONFIG_SYS_BOARD_REV==0x33)
#
define CONFIG_SYS_RAM_SIZE (4 * 1024 * 1024)
#
error Define configuration for the 3.3V memory
#else
# define CONFIG_SYS_RAM_SIZE (16 * 1024 * 1024)
#endif
...
...
@@ -119,7 +119,7 @@
* Optimized timings for external SRAM
*/
#if (CONFIG_SYS_BOARD_REV==0x33)
#
define CONFIG_SYS_EMC0CS0CR 0x00002225
#
error Define configuration for the 3.3V memory
#else
# define CONFIG_SYS_EMC0CS0CR 0x00003335
#endif
...
...
@@ -138,25 +138,25 @@
* Timings for the external Flash
*/
#if (CONFIG_SYS_BOARD_REV==0x33)
#
define CONFIG_SYS_EMC0CS1CR 0x0000393F
#
error Define configuration for the 3.3V memory
#else
# define CONFIG_SYS_EMC0CS1CR 0x0000013
F
# define CONFIG_SYS_EMC0CS1CR 0x0000013
7
#endif
/*
* Settings for the CFI Flash driver
*/
#if (CONFIG_SYS_BOARD_REV==0x33)
#error
Need to add parameters
for the 3.3V
Flash
#
error
Define configuration
for the 3.3V
memory
#else
#define CONFIG_SYS_FLASH_CFI 1
#define CONFIG_FLASH_CFI_DRIVER
1
#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BANK1_BASE }
#define CONFIG_SYS_MAX_FLASH_BANKS 1
#define CONFIG_SYS_MAX_FLASH_SECT 140
#define CONFIG_SYS_FLASH_CFI_AMD_RESET 1
#define CONFIG_SYS_FLASH_PROTECTION 1
#
define CONFIG_SYS_FLASH_CFI 1
#
define CONFIG_FLASH_CFI_DRIVER 1
#
define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#
define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BANK1_BASE }
#
define CONFIG_SYS_MAX_FLASH_BANKS 1
#
define CONFIG_SYS_MAX_FLASH_SECT 140
#
define CONFIG_SYS_FLASH_CFI_AMD_RESET 1
#
define CONFIG_SYS_FLASH_PROTECTION 1
#endif
/*
...
...
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