summaryrefslogtreecommitdiffstats
path: root/board/mcc200/mcc200.c
Commit message (Collapse)AuthorAgeFilesLines
* Redundant Environment: protect full sector sizeWolfgang Denk2009-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several boards used different ways to specify the size of the protected area when enabling flash write protection for the sectors holding the environment variables: some used CONFIG_ENV_SIZE and CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even a mix of both for the "normal" and the "redundant" areas. Normally, this makes no difference at all. However, things are different when you have to deal with boards that can come with different types of flash chips, which may have different sector sizes. Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the biggest sector size, which may include several sectors on boards using the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the case that only the first of these sectors get protected, while the following ones aren't. This is no real problem, but it can be confusing for the user - especially on boards that use CONFIG_ENV_SECT_SIZE to protect the "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the "redundant" area. To avoid such inconsistencies, I changed all sucn boards that I found to consistently use CONFIG_ENV_SECT_SIZE for protection. This should not cause any functional changes to the code. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Paul Ruhland Cc: Pantelis Antoniou <panto@intracom.gr> Cc: Stefan Roese <sr@denx.de> Cc: Gary Jennejohn <garyj@denx.de> Cc: Dave Ellis <DGE@sixnetio.com> Acked-by: Stefan Roese <sr@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-181-17/+17
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* rename CFG_ENV macros to CONFIG_ENVJean-Christophe PLAGNIOL-VILLARD2008-09-101-4/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* disk-on-chip: remove duplicate doc_probe declarationJean-Christophe PLAGNIOL-VILLARD2008-09-091-1/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Change initdram() return type to phys_size_tBecky Bruce2008-06-121-1/+1
| | | | | | | | | | | | | | | | | | | This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* board/[j-z]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-101-2/+2
| | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* board/[m-p]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-091-1/+1
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* board/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-041-1/+1
| | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Merge with /home/hs/SC3/u-bootWolfgang Denk2007-01-151-3/+3
|\ | | | | | | Some code cleanup.
* | Fix auto_update for MCC200 board.Wolfgang Denk2007-01-101-4/+3
|/ | | | | | | | | | The invocation of do_auto_update() is moved to the end of the misc_init_r() function, after the flash mappings have been initialized. Please find attached a patch that implements that change. Also correct the decoding of the keypad status. With this update, the key that will trigger the update is Column 2, Row 2.
* automatic update mechanismAndrei Safronov2006-12-081-0/+5
|
* Minor code cleanup. Update CHANGELOG.Wolfgang Denk2006-11-271-2/+1
|
* Sequential accesses to non-existent memory must be synchronized,Wolfgang Denk2006-11-061-0/+19
| | | | | | at least on G2 cores. This fixes get_ram_size() problems on MPC5200 Rev. B boards.
* Code cleanupWolfgang Denk2006-08-271-2/+2
|
* Updates for MCC200 / PRS200 boards:Wolfgang Denk2006-08-241-0/+4
| | | | | | - support for configurations with SDRAM or DDR memory, - support for highboot and lowboot - adjusting environment definitions
* MCC200: restrict addressable flash space to 32 MBWolfgang Denk2006-08-171-0/+8
|
* MCC200: set default configuration to low_boot DDR,Wolfgang Denk2006-07-231-1/+6
| | | | and support for configurable options high_boot and/or SDRAM.
* Fix error in flash protection calculation on MCC200 board.Wolfgang Denk2006-07-101-1/+1
|
* Fix memory init problems on MCC200 boardWolfgang Denk2006-06-141-1/+7
|
* Fix U-Boot enviroenment sector protection on MCC200 boardWolfgang Denk2006-06-091-1/+1
|
* MCC200 Board: fix flash unprotection code for flash > 32 MB.Wolfgang Denk2006-04-061-0/+10
|
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-311-2/+2
|
* Minor code cleanupWolfgang Denk2006-03-061-60/+0
|
* Fix problem with flash_get_size() from CFI driver updateStefan Roese2006-03-011-0/+2
| | | | Patch by Stefan Roese, 1 Mar 2006
* Convert mcc200 to use common CFI flash driverStefan Roese2006-02-281-35/+47
| | | | Patch by Stefan Roese, 28 Feb 2006
* Cleanup MCC200 board.Wolfgang Denk2006-02-241-7/+1
|
* Initial port to MCC200 board (work in progress)Wolfgang Denk2006-02-221-0/+328
Minimally modified patch by Bluetechnix, Vienna
OpenPOWER on IntegriCloud