mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
Merge branch 'master' of /home/wd/git/u-boot/custodians
This commit is contained in:
commit
0dcfe3a225
19 changed files with 175 additions and 113 deletions
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
|
#if !defined(CFG_FLASH_CFI_DRIVER) /* do not use if CFI driver is configured */
|
||||||
|
|
||||||
#if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \
|
#if defined(CONFIG_TQM8xxL) && !defined(CONFIG_TQM866M) \
|
||||||
&& !defined(CONFIG_TQM885D)
|
&& !defined(CONFIG_TQM885D)
|
||||||
# ifndef CFG_OR_TIMING_FLASH_AT_50MHZ
|
# ifndef CFG_OR_TIMING_FLASH_AT_50MHZ
|
||||||
|
@ -828,3 +830,5 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#endif /* !defined(CFG_FLASH_CFI_DRIVER) */
|
||||||
|
|
|
@ -37,6 +37,7 @@ static long int dram_size (long int, long int *, long int);
|
||||||
|
|
||||||
#define _NOT_USED_ 0xFFFFFFFF
|
#define _NOT_USED_ 0xFFFFFFFF
|
||||||
|
|
||||||
|
/* UPM initialization table for SDRAM: 40, 50, 66 MHz CLKOUT @ CAS latency 2, tWR=2 */
|
||||||
const uint sdram_table[] =
|
const uint sdram_table[] =
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -63,14 +64,14 @@ const uint sdram_table[] =
|
||||||
/*
|
/*
|
||||||
* Single Write. (Offset 18 in UPMA RAM)
|
* Single Write. (Offset 18 in UPMA RAM)
|
||||||
*/
|
*/
|
||||||
0x1F0DFC04, 0xEEABBC00, 0x01B27C04, 0x1FF5FC47, /* last */
|
0x1F0DFC04, 0xEEABBC00, 0x11B77C04, 0xEFFAFC44,
|
||||||
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
|
0x1FF5FC47, /* last */
|
||||||
|
_NOT_USED_, _NOT_USED_, _NOT_USED_,
|
||||||
/*
|
/*
|
||||||
* Burst Write. (Offset 20 in UPMA RAM)
|
* Burst Write. (Offset 20 in UPMA RAM)
|
||||||
*/
|
*/
|
||||||
0x1F0DFC04, 0xEEABBC00, 0x10A77C00, 0xF0AFFC00,
|
0x1F0DFC04, 0xEEABBC00, 0x10A77C00, 0xF0AFFC00,
|
||||||
0xF0AFFC00, 0xE1BAFC04, 0x1FF5FC47, /* last */
|
0xF0AFFC00, 0xF0AFFC04, 0xE1BAFC44, 0x1FF5FC47, /* last */
|
||||||
_NOT_USED_,
|
|
||||||
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
|
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
|
||||||
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
|
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
|
||||||
/*
|
/*
|
||||||
|
@ -83,7 +84,7 @@ const uint sdram_table[] =
|
||||||
/*
|
/*
|
||||||
* Exception. (Offset 3c in UPMA RAM)
|
* Exception. (Offset 3c in UPMA RAM)
|
||||||
*/
|
*/
|
||||||
0x7FFFFC07, /* last */
|
0xFFFFFC07, /* last */
|
||||||
_NOT_USED_, _NOT_USED_, _NOT_USED_,
|
_NOT_USED_, _NOT_USED_, _NOT_USED_,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -183,7 +184,7 @@ long int initdram (int board_type)
|
||||||
#ifndef CONFIG_CAN_DRIVER
|
#ifndef CONFIG_CAN_DRIVER
|
||||||
if ((board_type != 'L') &&
|
if ((board_type != 'L') &&
|
||||||
(board_type != 'M') &&
|
(board_type != 'M') &&
|
||||||
(board_type != 'D') ) { /* "L" and "M" type boards have only one bank SDRAM */
|
(board_type != 'D') ) { /* only one SDRAM bank on L, M and D modules */
|
||||||
memctl->memc_or3 = CFG_OR3_PRELIM;
|
memctl->memc_or3 = CFG_OR3_PRELIM;
|
||||||
memctl->memc_br3 = CFG_BR3_PRELIM;
|
memctl->memc_br3 = CFG_BR3_PRELIM;
|
||||||
}
|
}
|
||||||
|
@ -259,7 +260,7 @@ long int initdram (int board_type)
|
||||||
#ifndef CONFIG_CAN_DRIVER
|
#ifndef CONFIG_CAN_DRIVER
|
||||||
if ((board_type != 'L') &&
|
if ((board_type != 'L') &&
|
||||||
(board_type != 'M') &&
|
(board_type != 'M') &&
|
||||||
(board_type != 'D') ) { /* "L" and "M" type boards have only one bank SDRAM */
|
(board_type != 'D') ) { /* only one SDRAM bank on L, M and D modules */
|
||||||
/*
|
/*
|
||||||
* Check Bank 1 Memory Size
|
* Check Bank 1 Memory Size
|
||||||
* use current column settings
|
* use current column settings
|
||||||
|
|
|
@ -259,11 +259,8 @@ int get_clocks_866 (void)
|
||||||
*/
|
*/
|
||||||
sccr_reg = immr->im_clkrst.car_sccr;
|
sccr_reg = immr->im_clkrst.car_sccr;
|
||||||
sccr_reg &= ~SCCR_EBDF11;
|
sccr_reg &= ~SCCR_EBDF11;
|
||||||
#if defined(CONFIG_TQM885D)
|
|
||||||
if (gd->cpu_clk <= 80000000) {
|
|
||||||
#else
|
|
||||||
if (gd->cpu_clk <= 66000000) {
|
if (gd->cpu_clk <= 66000000) {
|
||||||
#endif
|
|
||||||
sccr_reg |= SCCR_EBDF00; /* bus division factor = 1 */
|
sccr_reg |= SCCR_EBDF00; /* bus division factor = 1 */
|
||||||
gd->bus_clk = gd->cpu_clk;
|
gd->bus_clk = gd->cpu_clk;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -129,20 +129,21 @@ typedef void (interrupt_handler_t)(void *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* enable common handling for all TQM8xxL/M boards:
|
* enable common handling for all TQM8xxL/M boards:
|
||||||
* - CONFIG_TQM8xxM will be defined for all TQM8xxM and TQM885D boards
|
* - CONFIG_TQM8xxM will be defined for all TQM8xxM boards
|
||||||
* - CONFIG_TQM8xxL will be defined for all TQM8xxL _and_ TQM8xxM boards
|
* - CONFIG_TQM8xxL will be defined for all TQM8xxL _and_ TQM8xxM boards
|
||||||
|
* and for the TQM885D board
|
||||||
*/
|
*/
|
||||||
#if defined(CONFIG_TQM823M) || defined(CONFIG_TQM850M) || \
|
#if defined(CONFIG_TQM823M) || defined(CONFIG_TQM850M) || \
|
||||||
defined(CONFIG_TQM855M) || defined(CONFIG_TQM860M) || \
|
defined(CONFIG_TQM855M) || defined(CONFIG_TQM860M) || \
|
||||||
defined(CONFIG_TQM862M) || defined(CONFIG_TQM866M) || \
|
defined(CONFIG_TQM862M) || defined(CONFIG_TQM866M)
|
||||||
defined(CONFIG_TQM885D)
|
|
||||||
# ifndef CONFIG_TQM8xxM
|
# ifndef CONFIG_TQM8xxM
|
||||||
# define CONFIG_TQM8xxM
|
# define CONFIG_TQM8xxM
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_TQM823L) || defined(CONFIG_TQM850L) || \
|
#if defined(CONFIG_TQM823L) || defined(CONFIG_TQM850L) || \
|
||||||
defined(CONFIG_TQM855L) || defined(CONFIG_TQM860L) || \
|
defined(CONFIG_TQM855L) || defined(CONFIG_TQM860L) || \
|
||||||
defined(CONFIG_TQM862L) || defined(CONFIG_TQM8xxM)
|
defined(CONFIG_TQM862L) || defined(CONFIG_TQM8xxM) || \
|
||||||
|
defined(CONFIG_TQM885D)
|
||||||
# ifndef CONFIG_TQM8xxL
|
# ifndef CONFIG_TQM8xxL
|
||||||
# define CONFIG_TQM8xxL
|
# define CONFIG_TQM8xxL
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -224,11 +224,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -335,7 +335,7 @@
|
||||||
#else
|
#else
|
||||||
#define CFG_MONITOR_LEN (384 << 10) /* Reserve 384 kB for Monitor */
|
#define CFG_MONITOR_LEN (384 << 10) /* Reserve 384 kB for Monitor */
|
||||||
#endif /* CONFIG_TQM5200_B */
|
#endif /* CONFIG_TQM5200_B */
|
||||||
#define CFG_MALLOC_LEN (256 << 10) /* Reserve 256 kB for malloc() */
|
#define CFG_MALLOC_LEN (1024 << 10) /* Reserve 1024 kB for malloc() */
|
||||||
#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
|
#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -392,6 +392,7 @@
|
||||||
*/
|
*/
|
||||||
#define CFG_LONGHELP /* undef to save memory */
|
#define CFG_LONGHELP /* undef to save memory */
|
||||||
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
||||||
|
#define CONFIG_CMDLINE_EDITING 1 /* add command line history */
|
||||||
#if defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -192,11 +192,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -188,15 +188,19 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment */
|
||||||
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
/* Address and size of Redundant Environment Sector */
|
/* Address and size of Redundant Environment Sector */
|
||||||
|
|
|
@ -179,11 +179,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -177,15 +177,19 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment */
|
||||||
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
/* Address and size of Redundant Environment Sector */
|
/* Address and size of Redundant Environment Sector */
|
||||||
|
|
|
@ -183,11 +183,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -217,15 +217,19 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment */
|
||||||
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
/* Address and size of Redundant Environment Sector */
|
/* Address and size of Redundant Environment Sector */
|
||||||
|
|
|
@ -186,11 +186,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -189,11 +189,14 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
/* use CFI flash driver */
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
|
||||||
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
|
@ -368,7 +371,7 @@
|
||||||
*/
|
*/
|
||||||
#define SDRAM_BASE2_PRELIM 0x00000000 /* SDRAM bank #0 */
|
#define SDRAM_BASE2_PRELIM 0x00000000 /* SDRAM bank #0 */
|
||||||
#define SDRAM_BASE3_PRELIM 0x20000000 /* SDRAM bank #1 */
|
#define SDRAM_BASE3_PRELIM 0x20000000 /* SDRAM bank #1 */
|
||||||
#define SDRAM_MAX_SIZE 0x04000000 /* max 64 MB per bank */
|
#define SDRAM_MAX_SIZE 0x08000000 /* max 128 MB per bank */
|
||||||
|
|
||||||
/* SDRAM timing: Multiplexed addresses, GPL5 output to GPL5_A (don't care) */
|
/* SDRAM timing: Multiplexed addresses, GPL5 output to GPL5_A (don't care) */
|
||||||
#define CFG_OR_TIMING_SDRAM 0x00000A00
|
#define CFG_OR_TIMING_SDRAM 0x00000A00
|
||||||
|
@ -444,7 +447,10 @@
|
||||||
#define CFG_MAMR_9COL ((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE | \
|
#define CFG_MAMR_9COL ((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE | \
|
||||||
MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A10 | \
|
MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A10 | \
|
||||||
MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
|
MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
|
||||||
|
/* 10 column SDRAM */
|
||||||
|
#define CFG_MAMR_10COL ((CFG_MAMR_PTA << MAMR_PTA_SHIFT) | MAMR_PTAE | \
|
||||||
|
MAMR_AMA_TYPE_2 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A9 | \
|
||||||
|
MAMR_RLFA_1X | MAMR_WLFA_1X | MAMR_TLFA_4X)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Internal Definitions
|
* Internal Definitions
|
||||||
|
|
|
@ -186,14 +186,17 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
|
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
|
|
|
@ -186,16 +186,19 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
|
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment */
|
||||||
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
/* Address and size of Redundant Environment Sector */
|
/* Address and size of Redundant Environment Sector */
|
||||||
|
|
|
@ -232,11 +232,14 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
/* use CFI flash driver */
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
#define CFG_FLASH_CFI 1 /* Flash is CFI conformant */
|
||||||
|
#define CFG_FLASH_CFI_DRIVER 1 /* Use the common driver */
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE }
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
|
|
|
@ -42,17 +42,10 @@
|
||||||
#define CONFIG_8xx_OSCLK 10000000 /* 10 MHz - PLL input clock */
|
#define CONFIG_8xx_OSCLK 10000000 /* 10 MHz - PLL input clock */
|
||||||
#define CFG_8xx_CPUCLK_MIN 15000000 /* 15 MHz - CPU minimum clock */
|
#define CFG_8xx_CPUCLK_MIN 15000000 /* 15 MHz - CPU minimum clock */
|
||||||
#define CFG_8xx_CPUCLK_MAX 133000000 /* 133 MHz - CPU maximum clock */
|
#define CFG_8xx_CPUCLK_MAX 133000000 /* 133 MHz - CPU maximum clock */
|
||||||
#define CONFIG_8xx_CPUCLK_DEFAULT 66000000 /* 50 MHz - CPU default clock */
|
#define CONFIG_8xx_CPUCLK_DEFAULT 66000000 /* 66 MHz - CPU default clock */
|
||||||
/* (it will be used if there is no */
|
/* (it will be used if there is no */
|
||||||
/* 'cpuclk' variable with valid value) */
|
/* 'cpuclk' variable with valid value) */
|
||||||
|
|
||||||
#define CFG_MEASURE_CPUCLK /* Measure real cpu clock */
|
|
||||||
/* (function measure_gclk() */
|
|
||||||
/* will be called) */
|
|
||||||
#ifdef CFG_MEASURE_CPUCLK
|
|
||||||
#define CFG_8XX_XIN 10000000 /* measure_gclk() needs this */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
||||||
|
|
||||||
#define CONFIG_BAUDRATE 115200 /* console baudrate = 115kbps */
|
#define CONFIG_BAUDRATE 115200 /* console baudrate = 115kbps */
|
||||||
|
@ -83,9 +76,15 @@
|
||||||
"bootm ${kernel_addr} ${ramdisk_addr}\0" \
|
"bootm ${kernel_addr} ${ramdisk_addr}\0" \
|
||||||
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \
|
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \
|
||||||
"rootpath=/opt/eldk/ppc_8xx\0" \
|
"rootpath=/opt/eldk/ppc_8xx\0" \
|
||||||
"bootfile=/tftpboot/TQM866M/uImage\0" \
|
"bootfile=/tftpboot/TQM885D/uImage\0" \
|
||||||
"kernel_addr=40080000\0" \
|
"fdt_addr=400C0000\0" \
|
||||||
"ramdisk_addr=40180000\0" \
|
"kernel_addr=40100000\0" \
|
||||||
|
"ramdisk_addr=40280000\0" \
|
||||||
|
"load=tftp 200000 ${u-boot}\0" \
|
||||||
|
"update=protect off 40000000 +${filesize};" \
|
||||||
|
"erase 40000000 +${filesize};" \
|
||||||
|
"cp.b 200000 40000000 ${filesize};" \
|
||||||
|
"protect on 40000000 +${filesize}\0" \
|
||||||
""
|
""
|
||||||
#define CONFIG_BOOTCOMMAND "run flash_self"
|
#define CONFIG_BOOTCOMMAND "run flash_self"
|
||||||
|
|
||||||
|
@ -144,7 +143,7 @@
|
||||||
#define CONFIG_MAC_PARTITION
|
#define CONFIG_MAC_PARTITION
|
||||||
#define CONFIG_DOS_PARTITION
|
#define CONFIG_DOS_PARTITION
|
||||||
|
|
||||||
#undef CONFIG_RTC_MPC8xx /* MPC866 does not support RTC */
|
#undef CONFIG_RTC_MPC8xx /* MPC885 does not support RTC */
|
||||||
|
|
||||||
#define CONFIG_TIMESTAMP /* but print image timestmps */
|
#define CONFIG_TIMESTAMP /* but print image timestmps */
|
||||||
|
|
||||||
|
@ -230,7 +229,7 @@
|
||||||
#define CFG_FLASH_BASE 0x40000000
|
#define CFG_FLASH_BASE 0x40000000
|
||||||
#define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */
|
#define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */
|
||||||
#define CFG_MONITOR_BASE CFG_FLASH_BASE
|
#define CFG_MONITOR_BASE CFG_FLASH_BASE
|
||||||
#define CFG_MALLOC_LEN (128 << 10) /* Reserve 128 kB for malloc() */
|
#define CFG_MALLOC_LEN (256 << 10) /* Reserve 128 kB for malloc() */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For booting Linux, the board info and command line data
|
* For booting Linux, the board info and command line data
|
||||||
|
@ -242,16 +241,20 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 256 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */
|
||||||
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SIZE 0x08000 /* Total Size of Environment */
|
||||||
#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */
|
#define CFG_ENV_SECT_SIZE 0x40000 /* Total Size of Environment Sector */
|
||||||
|
|
||||||
/* Address and size of Redundant Environment Sector */
|
/* Address and size of Redundant Environment Sector */
|
||||||
#define CFG_ENV_OFFSET_REDUND (CFG_ENV_OFFSET+CFG_ENV_SECT_SIZE)
|
#define CFG_ENV_OFFSET_REDUND (CFG_ENV_OFFSET+CFG_ENV_SECT_SIZE)
|
||||||
|
@ -434,26 +437,30 @@
|
||||||
#define CFG_PTA_PER_CLK ((4096 * 64 * 1000) / (4 * 64))
|
#define CFG_PTA_PER_CLK ((4096 * 64 * 1000) / (4 * 64))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory Periodic Timer Prescaler
|
* Periodic timer (MAMR[PTx]) for 4 * 7.8 us refresh (= 31.2 us per quad)
|
||||||
* Periodic timer for refresh, start with refresh rate for 40 MHz clock
|
*
|
||||||
* (CFG_8xx_CPUCLK_MIN / CFG_PTA_PER_CLK)
|
* CPUclock(MHz) * 31.2
|
||||||
|
* CFG_MAMR_PTA = ----------------------------------- with DFBRG = 0
|
||||||
|
* 2^(2*SCCR[DFBRG]) * MPTPR_PTP_DIV16
|
||||||
|
*
|
||||||
|
* CPU clock = 15 MHz: CFG_MAMR_PTA = 29 -> 4 * 7.73 us
|
||||||
|
* CPU clock = 50 MHz: CFG_MAMR_PTA = 97 -> 4 * 7.76 us
|
||||||
|
* CPU clock = 66 MHz: CFG_MAMR_PTA = 128 -> 4 * 7.75 us
|
||||||
|
* CPU clock = 133 MHz: CFG_MAMR_PTA = 255 -> 4 * 7.67 us
|
||||||
|
*
|
||||||
|
* Value 97 is for 4 * 7.8 us at 50 MHz. So the refresh cycle requirement will
|
||||||
|
* be met also in the default configuration, i.e. if environment variable
|
||||||
|
* 'cpuclk' is not set.
|
||||||
*/
|
*/
|
||||||
#define CFG_MAMR_PTA 39
|
#define CFG_MAMR_PTA 128
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For 16 MBit, refresh rates could be 31.3 us
|
* Memory Periodic Timer Prescaler Register (MPTPR) values.
|
||||||
* (= 64 ms / 2K = 125 / quad bursts).
|
|
||||||
* For a simpler initialization, 15.6 us is used instead.
|
|
||||||
*
|
|
||||||
* #define CFG_MPTPR_2BK_2K MPTPR_PTP_DIV32 for 2 banks
|
|
||||||
* #define CFG_MPTPR_1BK_2K MPTPR_PTP_DIV64 for 1 bank
|
|
||||||
*/
|
*/
|
||||||
#define CFG_MPTPR_2BK_4K MPTPR_PTP_DIV16 /* setting for 2 banks */
|
/* 4 * 7.8 us refresh (= 31.2 us per quad) at 50 MHz and PTA = 97 */
|
||||||
#define CFG_MPTPR_1BK_4K MPTPR_PTP_DIV32 /* setting for 1 bank */
|
#define CFG_MPTPR_2BK_4K MPTPR_PTP_DIV16
|
||||||
|
/* 4 * 3.9 us refresh (= 15.6 us per quad) at 50 MHz and PTA = 97 */
|
||||||
/* refresh rate 7.8 us (= 64 ms / 8K = 31.2 / quad bursts) for 256 MBit */
|
#define CFG_MPTPR_2BK_8K MPTPR_PTP_DIV8
|
||||||
#define CFG_MPTPR_2BK_8K MPTPR_PTP_DIV8 /* setting for 2 banks */
|
|
||||||
#define CFG_MPTPR_1BK_8K MPTPR_PTP_DIV16 /* setting for 1 bank */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MAMR settings for SDRAM
|
* MAMR settings for SDRAM
|
||||||
|
|
|
@ -193,11 +193,15 @@
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* FLASH organization
|
* FLASH organization
|
||||||
*/
|
*/
|
||||||
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
|
||||||
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
|
||||||
|
|
||||||
#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
|
/* use CFI flash driver */
|
||||||
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
|
#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_FLASH_BASE }
|
||||||
|
#define CFG_FLASH_EMPTY_INFO
|
||||||
|
#define CFG_FLASH_USE_BUFFER_WRITE 1
|
||||||
|
#define CFG_MAX_FLASH_BANKS 2 /* max number of memory banks */
|
||||||
|
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
#define CFG_ENV_OFFSET 0x8000 /* Offset of Environment Sector */
|
||||||
|
|
Loading…
Add table
Reference in a new issue