Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
vesta
u-boot-2015.04
Commits
288b3d7f
Commit
288b3d7f
authored
22 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
* Switch LWMON board default config from FRAM to EEPROM;
in POST, EEPROM shows up on 8 addresses
parent
2f91a3d0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+7
-0
7 additions, 0 deletions
CHANGELOG
include/configs/lwmon.h
+21
-1
21 additions, 1 deletion
include/configs/lwmon.h
include/version.h
+1
-1
1 addition, 1 deletion
include/version.h
with
29 additions
and
2 deletions
CHANGELOG
+
7
−
0
View file @
288b3d7f
======================================================================
Changes since U-Boot 0.2.0:
======================================================================
* Switch LWMON board default config from FRAM to EEPROM;
in POST, EEPROM shows up on 8 addresses
======================================================================
======================================================================
Changes for U-Boot 0.2.0:
Changes for U-Boot 0.2.0:
======================================================================
======================================================================
...
...
This diff is collapsed.
Click to expand it.
include/configs/lwmon.h
+
21
−
1
View file @
288b3d7f
...
@@ -277,7 +277,8 @@
...
@@ -277,7 +277,8 @@
#define CFG_I2C_KEYBD_ADDR 0x56
/* PIC LWE keyboard */
#define CFG_I2C_KEYBD_ADDR 0x56
/* PIC LWE keyboard */
#define CFG_I2C_PICIO_ADDR 0x57
/* PIC IO Expander */
#define CFG_I2C_PICIO_ADDR 0x57
/* PIC IO Expander */
#define CONFIG_USE_FRAM
/* Use FRAM instead of EEPROM */
#undef CONFIG_USE_FRAM
/* Use FRAM instead of EEPROM */
#ifdef CONFIG_USE_FRAM
/* use FRAM */
#ifdef CONFIG_USE_FRAM
/* use FRAM */
#define CFG_I2C_EEPROM_ADDR 0x55
/* FRAM FM24CL64 */
#define CFG_I2C_EEPROM_ADDR 0x55
/* FRAM FM24CL64 */
#define CFG_I2C_EEPROM_ADDR_LEN 2
#define CFG_I2C_EEPROM_ADDR_LEN 2
...
@@ -289,6 +290,7 @@
...
@@ -289,6 +290,7 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 4
#define CFG_EEPROM_PAGE_WRITE_BITS 4
/* List of I2C addresses to be verified by POST */
/* List of I2C addresses to be verified by POST */
#ifdef CONFIG_USE_FRAM
#define I2C_ADDR_LIST {
/* CFG_I2C_AUDIO_ADDR, */
\
#define I2C_ADDR_LIST {
/* CFG_I2C_AUDIO_ADDR, */
\
CFG_I2C_SYSMON_ADDR, \
CFG_I2C_SYSMON_ADDR, \
CFG_I2C_RTC_ADDR, \
CFG_I2C_RTC_ADDR, \
...
@@ -298,6 +300,24 @@
...
@@ -298,6 +300,24 @@
CFG_I2C_PICIO_ADDR, \
CFG_I2C_PICIO_ADDR, \
CFG_I2C_EEPROM_ADDR, \
CFG_I2C_EEPROM_ADDR, \
}
}
#else
/* Use EEPROM - which show up on 8 consequtive addresses */
#define I2C_ADDR_LIST {
/* CFG_I2C_AUDIO_ADDR, */
\
CFG_I2C_SYSMON_ADDR, \
CFG_I2C_RTC_ADDR, \
CFG_I2C_POWER_A_ADDR, \
CFG_I2C_POWER_B_ADDR, \
CFG_I2C_KEYBD_ADDR, \
CFG_I2C_PICIO_ADDR, \
CFG_I2C_EEPROM_ADDR+0, \
CFG_I2C_EEPROM_ADDR+1, \
CFG_I2C_EEPROM_ADDR+2, \
CFG_I2C_EEPROM_ADDR+3, \
CFG_I2C_EEPROM_ADDR+4, \
CFG_I2C_EEPROM_ADDR+5, \
CFG_I2C_EEPROM_ADDR+6, \
CFG_I2C_EEPROM_ADDR+7, \
}
#endif
/* CONFIG_USE_FRAM */
/*-----------------------------------------------------------------------
/*-----------------------------------------------------------------------
* Cache Configuration
* Cache Configuration
...
...
This diff is collapsed.
Click to expand it.
include/version.h
+
1
−
1
View file @
288b3d7f
...
@@ -24,6 +24,6 @@
...
@@ -24,6 +24,6 @@
#ifndef __VERSION_H__
#ifndef __VERSION_H__
#define __VERSION_H__
#define __VERSION_H__
#define U_BOOT_VERSION "U-Boot 0.2.
0
"
#define U_BOOT_VERSION "U-Boot 0.2.
1
"
#endif
/* __VERSION_H__ */
#endif
/* __VERSION_H__ */
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