summaryrefslogtreecommitdiff
path: root/board/inka4x0/inka4x0.c
Commit message (Collapse)AuthorAgeLines
* Rename getenv_r() into getenv_f()Wolfgang Denk2010-08-04-1/+1
| | | | | | | | | | | | | | | | | | | While running from flash, i. e. before relocation, we have only a limited C runtime environment without writable data segment. In this phase, some configurations (for example with environment in EEPROM) must not use the normal getenv(), but a special function. This function had been called getenv_r(), with the idea that the "_r" suffix would mean the same as in the _r_eentrant versions of some of the C library functions (for example getdate vs. getdate_r, getgrent vs. getgrent_r, etc.). Unfortunately this was a misleading name, as in U-Boot the "_r" generally means "running from RAM", i. e. _after_ relocation. To avoid confusion, rename into getenv_f() [as "running from flash"] Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
* ppc: Remove board-specific command table relocation fixupsPeter Tyser2009-10-03-10/+0
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* powerpc/inka4x0: Remove left-over ide reset code.Detlev Zundel2009-05-15-33/+0
| | | | | | | The pin which was used in preliminary versions of the board for ide reset is really connected to the rtc clock. Signed-off-by: Detlev Zundel <dzu@denx.de>
* inka4x0: Use proper accessor macros for memory mapped registers.Detlev Zundel2009-03-30-64/+75
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* inka4x0: Add hardware diagnosis and RTC in configuration.Detlev Zundel2009-03-30-0/+20
| | | | | | | | This patch adds the board specific communication routines needed by the external 4543 RTC. Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Andreas Pfefferle <ap@denx.de>
* inka4x0: Add hardware diagnosis functions for inka4x0Detlev Zundel2009-03-30-2/+18
| | | | | | | This patch adds advanced diagnosis functions for the inka4x0 board. Signed-off-by: Andreas Pfefferle <ap@denx.de> Signed-off-by: Detlev Zundel <dzu@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-8/+8
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Change initdram() return type to phys_size_tBecky Bruce2008-06-12-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>
* inka4x0: remove dead codeWolfgang Denk2008-01-25-10/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* [INKA4x0] NG hardware: SDRAM supportMarian Balakowicz2007-11-15-2/+10
| | | | | | | | | Add support for three new DDR chips that may be present on a NG INKA4x0 hardware: HYB25D512160BF-5, K4H511638C-7CB3, T46V32M16BN-6IT. Cleanup board/inka4x0/mt48lc16m16a2-75.h file. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [INKA4x0] NG hardware: platform code updateMarian Balakowicz2007-11-15-4/+4
| | | | | | | | | - Cleanup compile warnings. - Add missing '\0' in default environment. - Increase CFG_MONITOR_LEN to 256 KiB. - Add required CFG_USE_PPCENV. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-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>
* - Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change theBartlomiej Sieka2006-11-01-10/+5
| | | | | | | | MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with MPC5XXX_WU_GPIO_DATA_O for affected boards. - Add defintions for some MPC5XXX GPIO pins.
* * Fix baudrate calculation problem on MPC5200 systemswdenk2005-06-27-2/+5
| | | | | | | | | * Add MPC8220 boards to MAKEALL script * Add EEPROM and RTC support for HMI1001 board * Patch by Detlev Zundel, 20 Jun 2005: Fix initialization of low active GPIO pins on inka4x0 board
* INKA4x0: Allow initialization of LCD backlight dimming fromwdenk2005-03-14-0/+15
| | | | "brightness" environment variable.
* Add port initialization for digital I/O on INKA4x0wdenk2005-03-06-16/+36
|
* * Fix get_partition_info() parameter error in all other callswdenk2005-03-04-0/+29
| | | | | | | | | | (common/cmd_ide.c, common/cmd_reiser.c, common/cmd_scsi.c). * Enable USB and IDE support for INKA4x0 board * Patch by Andrew Dyer, 28 February 2005: fix ext2load passing an incorrect pointer to get_partition_info() resulting in load failure for devices other than 0
* * Add support for ext2 filesystems and image timestamps to TQM5200 boardwdenk2005-02-24-2/+13
| | | | | | | | | * Add reset code for Coral-P on INKA4x0 board * Patch by Martin Krause, 28 Jun 2004: Update for TRAB board. * Fix some missing "volatile"s in MPC5xxx FEC driver
* * Update CPC45 board configuration.wdenk2005-01-31-0/+13
| | | | * Add USB and PCI support for INKA4x0 board
* * Fix problems with CMC_PU2 flash driver.wdenk2004-12-19-1/+1
| | | | * Adjust INKA 4x0 default settings
* Code cleanup.wdenk2004-12-16-1/+0
|
* Add support for INKA4X0 boardwdenk2004-12-16-0/+179