Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Jack Humbert
reform-boundary-uboot
Commits
c6676c73
Commit
c6676c73
authored
18 years ago
by
Wolfgang Denk
Committed by
Wolfgang Denk
18 years ago
Browse files
Options
Downloads
Plain Diff
Merge with /home/git/u-boot
parents
0bba5452
6abaee42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+5
-0
5 additions, 0 deletions
Makefile
board/tqm5200/cam5200_flash.c
+2
-2
2 additions, 2 deletions
board/tqm5200/cam5200_flash.c
include/configs/TQM5200.h
+22
-12
22 additions, 12 deletions
include/configs/TQM5200.h
with
29 additions
and
14 deletions
Makefile
+
5
−
0
View file @
c6676c73
...
@@ -557,6 +557,7 @@ Total5200_Rev2_lowboot_config: unconfig
...
@@ -557,6 +557,7 @@ Total5200_Rev2_lowboot_config: unconfig
@$(
MKCONFIG
)
-a
Total5200 ppc mpc5xxx total5200
@$(
MKCONFIG
)
-a
Total5200 ppc mpc5xxx total5200
cam5200_config
\
cam5200_config
\
cam5200_niosflash_config
\
fo300_config
\
fo300_config
\
MiniFAP_config
\
MiniFAP_config
\
TQM5200S_config
\
TQM5200S_config
\
...
@@ -574,6 +575,10 @@ TQM5200_STK100_config: unconfig
...
@@ -574,6 +575,10 @@ TQM5200_STK100_config: unconfig
echo
"#define CONFIG_TQM5200_B"
>>
$(
obj
)
include/config.h
;
\
echo
"#define CONFIG_TQM5200_B"
>>
$(
obj
)
include/config.h
;
\
echo
"... TQM5200S on Cam5200"
;
\
echo
"... TQM5200S on Cam5200"
;
\
}
}
@
[
-z
"
$(
findstring niosflash,
$@
)
"
]
||
\
{
echo
"#define CONFIG_CAM5200_NIOSFLASH"
>>
$(
obj
)
include/config.h
;
\
echo
"... with NIOS flash driver"
;
\
}
@
[
-z
"
$(
findstring fo300,
$@
)
"
]
||
\
@
[
-z
"
$(
findstring fo300,
$@
)
"
]
||
\
{
echo
"#define CONFIG_FO300"
>>
$(
obj
)
include/config.h
;
\
{
echo
"#define CONFIG_FO300"
>>
$(
obj
)
include/config.h
;
\
echo
"... TQM5200 on FO300"
;
\
echo
"... TQM5200 on FO300"
;
\
...
...
This diff is collapsed.
Click to expand it.
board/tqm5200/cam5200_flash.c
+
2
−
2
View file @
c6676c73
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include
<mpc5xxx.h>
#include
<mpc5xxx.h>
#include
<asm/processor.h>
#include
<asm/processor.h>
#ifdef
CONFIG_CAM5200
#if
def
ined(CONFIG_CAM5200) && defined(
CONFIG_CAM5200
_NIOSFLASH)
#if 0
#if 0
#define DEBUGF(x...) printf(x)
#define DEBUGF(x...) printf(x)
...
@@ -783,4 +783,4 @@ unsigned long flash_init(void)
...
@@ -783,4 +783,4 @@ unsigned long flash_init(void)
return
total_b
;
return
total_b
;
}
}
#endif
/* ifdef
CONFIG_CAM5200 */
#endif
/* if
def
ined(CONFIG_CAM5200) && defined(
CONFIG_CAM5200
_NIOSFLASH)
*/
This diff is collapsed.
Click to expand it.
include/configs/TQM5200.h
+
22
−
12
View file @
c6676c73
...
@@ -231,6 +231,17 @@
...
@@ -231,6 +231,17 @@
"protect on FC000000 +${filesize}\0"
"protect on FC000000 +${filesize}\0"
#endif
#endif
#ifndef CONFIG_CAM5200
#define CUSTOM_ENV_SETTINGS \
"bootfile=/tftpboot/tqm5200/uImage\0" \
"u-boot=/tftpboot/tqm5200/u-boot.bin\0"
#else
#define CUSTOM_ENV_SETTINGS \
"bootfile=cam5200/uImage\0" \
"u-boot=cam5200/u-boot.bin\0" \
"setup=tftp 200000 cam5200/setup.img; autoscr 200000\0"
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"netdev=eth0\0" \
"rootpath=/opt/eldk/ppc_6xx\0" \
"rootpath=/opt/eldk/ppc_6xx\0" \
...
@@ -248,8 +259,7 @@
...
@@ -248,8 +259,7 @@
"bootm ${kernel_addr}\0" \
"bootm ${kernel_addr}\0" \
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addcons;" \
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addcons;" \
"bootm\0" \
"bootm\0" \
"bootfile=/tftpboot/tqm5200/uImage\0" \
CUSTOM_ENV_SETTINGS \
"u-boot=/tftpboot/tqm5200/u-boot.bin\0" \
"load=tftp 200000 ${u-boot}\0" \
"load=tftp 200000 ${u-boot}\0" \
ENV_UPDT \
ENV_UPDT \
""
""
...
@@ -325,15 +335,7 @@
...
@@ -325,15 +335,7 @@
*/
*/
#define CFG_FLASH_BASE 0xFC000000
#define CFG_FLASH_BASE 0xFC000000
#ifndef CONFIG_CAM5200
#if defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH)
/* use CFI flash driver */
#define CFG_FLASH_CFI 1
/* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1
/* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_MAX_FLASH_BANKS 1
/* max num of flash banks
(= chip selects) */
#define CFG_MAX_FLASH_SECT 512
/* max num of sects on one chip */
#else
/* CONFIG_CAM5200 */
#define CFG_MAX_FLASH_BANKS 2
/* max num of flash banks
#define CFG_MAX_FLASH_BANKS 2
/* max num of flash banks
(= chip selects) */
(= chip selects) */
#define CFG_FLASH_WORD_SIZE unsigned int
/* main flash device with */
#define CFG_FLASH_WORD_SIZE unsigned int
/* main flash device with */
...
@@ -344,7 +346,15 @@
...
@@ -344,7 +346,15 @@
#define CFG_FLASH_ADDR1 0x2AA
#define CFG_FLASH_ADDR1 0x2AA
#define CFG_FLASH_2ND_16BIT_DEV 1
/* NIOS flash is a 16bit device */
#define CFG_FLASH_2ND_16BIT_DEV 1
/* NIOS flash is a 16bit device */
#define CFG_MAX_FLASH_SECT 128
#define CFG_MAX_FLASH_SECT 128
#endif
/* ifndef CONFIG_CAM5200 */
#else
/* use CFI flash driver */
#define CFG_FLASH_CFI 1
/* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1
/* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_MAX_FLASH_BANKS 1
/* max num of flash banks
(= chip selects) */
#define CFG_MAX_FLASH_SECT 512
/* max num of sects on one chip */
#endif
#define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_SIZE 0x04000000
/* 64 MByte */
#define CFG_FLASH_SIZE 0x04000000
/* 64 MByte */
...
...
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