summaryrefslogtreecommitdiffstats
path: root/common/console.c
Commit message (Collapse)AuthorAgeFilesLines
...
* version_string: sparse fixesSascha Hauer2010-10-211-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: sparse fixesSascha Hauer2010-10-211-2/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: set device_d id at -1Jean-Christophe PLAGNIOL-VILLARD2010-09-241-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename __initdata to __early_initdataSascha Hauer2010-09-201-2/+2
| | | | | | | | | The __initdata define was present before Jean-Christophe added it as fake value for Linux compatibility. Rename the previous define to a different name to avoid clashes Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rework device parametersSascha Hauer2010-06-171-19/+21
| | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* list: remove duplicated list.hSascha Hauer2009-11-031-1/+1
| | | | | | | | We accidently have two list implementations in the tree: include/list.h and include/linux/list.h. This patch moves the latter (newer one) to include/linux/list.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: partly revert 84688dfdb4aecc8296b4fef9bc657335d7b9ade5Sascha Hauer2009-09-251-1/+0
| | | | | | Some unrelated code leaked in in this commit Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: make locally used function staticSascha Hauer2009-09-251-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: Fix line endingsSascha Hauer2009-08-131-2/+2
| | | | | | use \r\n instead of \n\r Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* get rid of device idsSascha Hauer2009-07-211-1/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: buffer characters before console is initializedSascha Hauer2009-05-131-10/+21
| | | | | | | | instead of throwing all output away when the console is not initialized, buffer it in a kfifo and print it later when the first console gets initialized. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: rename console_buffer to console_input_bufferSascha Hauer2009-05-131-5/+11
| | | | | | ...as we want to add an output buffer, too Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Flush consoles before exitingSascha Hauer2009-03-191-0/+11
| | | | | | | We use FIFOs on some devices, so flush them before exiting so we do not get funny characters in the output. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Console: Fix baudrate switchingSascha Hauer2009-02-061-1/+4
| | | | | | | When waiting for the user to confirm the new baudrate, wait for '\n' and '\r' instead of only '\r' Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: add a simple console for saving spaceSascha Hauer2008-08-011-3/+1
| | | | | | | Add a simple console layer which is not able to handle multiple consoles for those who don't need it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add the possibility to have an architecture specific ctrlc() function.Sascha Hauer2008-03-111-0/+2
| | | | | This allows us to return immediately in ctrlc() on sandbox and thus not slow down network througput.
* Move display_banner() to console.c. This helps us to showsascha2007-10-191-1/+20
| | | | the banner as first message.
* Use Linux Kernel list implementation for console devices insteadSascha Hauer2007-10-111-27/+28
| | | | of homegrown list.
* Fix use of unitialized Variable. Why didn't this come up earlier???Sascha Hauer2007-10-091-1/+1
|
* export symbolsSascha Hauer2007-10-071-0/+11
|
* Export symbols printf and the ones needed for getoptSascha Hauer2007-10-011-1/+2
|
* add console bufferingSascha Hauer2007-09-211-1/+33
|
* - putc is now putchar for better standard conformitySascha Hauer2007-09-211-4/+7
| | | | - make printf return int
* whitespace cleanupSascha Hauer2007-09-131-7/+7
|
* fix for !CONFIG_HAS_EARLY_INITSascha Hauer2007-07-121-3/+5
|
* add early console for mpc5200Sascha Hauer2007-07-121-21/+61
|
* svn_rev_700Sascha Hauer2007-07-051-1/+1
|
* svn_rev_686Sascha Hauer2007-07-051-4/+42
| | | | implement console baudrate switching
* svn_rev_538Sascha Hauer2007-07-051-0/+19
| | | | several powerpc fixes
* svn_rev_525Sascha Hauer2007-07-051-1/+5
| | | | make default behaviour of consoles configurable
* svn_rev_502Sascha Hauer2007-07-051-9/+45
| | | | complete multiple console support
* svn_rev_398Sascha Hauer2007-07-051-37/+4
| | | | remove disable_ctrlc(), had_ctrlc() and clear_ctrlc()
* svn_rev_380Sascha Hauer2007-07-051-19/+90
| | | | add support for multipple consoles
* svn_rev_358Sascha Hauer2007-07-051-0/+1
|
* svn_rev_276Sascha Hauer2007-07-051-0/+1
| | | | fix warnings
* svn_rev_128Sascha Hauer2007-07-051-95/+1
| | | | remove more console stuf
* svn_rev_109Sascha Hauer2007-07-051-335/+4
| | | | do not know anymore
* svn_rev_003Sascha Hauer2007-07-051-10/+0
| | | | remove all #if 0 and #if 1
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-311-16/+2
|
* * Patch by Detlev Zundel, 31 Mar 2005:wdenk2005-03-311-5/+3
| | | | | | | Cleanup duplicate definition of overwrite_console() * Update TQM5200 configuration; prepare for Rev. 200 starter kit boards
* * Cleanup, minor fixeswdenk2004-04-181-1/+4
| | | | | | | | | * Patch by Rune Torgersen, 16 Apr 2004: LBA48 fixes * Patches by Pantelis Antoniou, 16 Apr 2004: - Fix some compile problems; add "once" functionality for the netretry variable
* * Patches by Thomas Viehweger, 16 Mar 2004:wdenk2004-03-231-12/+12
| | | | | | | | | - show PCI clock frequency on MPC8260 systems - add FCC_PSMR_RMII flag for HiP7 processors - in do_jffs2_fsload(), take load address from load_addr if not set explicit, update load_addr otherwise - replaced printf by putc/puts when no formatting is needed (smaller code size, faster execution)
* Patch by Anders Larsen, 09 Jan 2004:wdenk2004-02-081-1/+1
| | | | | | | | | | ARM memory layout fixes: the abort-stack is now set up in the correct RAM area, and the BSS is zeroed out as it should be. Furthermore, the magic variables 'armboot_end' and 'armboot_end_data' of the linker scripts are replaced by '__bss_start' and '_end', resp., which is a further step to eliminate unnecessary differences between the implementation of the CPU architectures.
* * Patch by Wolter Kamphuis, 15 Dec 2003:wdenk2004-02-061-0/+10
| | | | | | made CONFIG_SILENT_CONSOLE usable on all architectures * Disable date command on TQM866M - there is no RTC on MPC866
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-151-1/+1
| | | | | | | | - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup
* Added config option CONFIG_SILENT_CONSOLE. See doc/README.silentwdenk2003-10-101-1/+13
| | | | for more information
* Suppress all output with splashscreen configured only if "splashimage"dzu2003-09-291-2/+4
| | | | is set
* * Patches by Anders Larsen, 17 Sep 2003:wdenk2003-09-181-0/+6
| | | | | | | | | | - fix spelling errors - set GD_FLG_DEVINIT flag only after device function pointers are valid - Allow CFG_ALT_MEMTEST on systems where address zero isn't writeable - enable 3.rd UART (ST-UART) on PXA(XScale) CPUs - trigger watchdog while waiting in serial driver
* * Implement new mechanism to export U-Boot's functions to standalonewdenk2003-07-241-13/+13
| | | | | | | | applications: instead of using (PPC-specific) system calls we now use a jump table; please see doc/README.standalone for details * Patch by Dave Westwood, 24 Jul 2003: added support for Unity OS (a proprietary OS)
* Patches by Murray Jensen, 17 Jun 2003:wdenk2003-06-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Hymod board database mods: add "who" field and new xilinx chip types - provide new "init_cmd_timeout()" function so code external to "common/main.c" can use the "reset_cmd_timeout()" function before entering the main loop - add DTT support for adm1021 (new file dtt/adm1021.c; config slightly different. see include/configs/hymod.h for an example (requires CONFIG_DTT_ADM1021, CONFIG_DTT_SENSORS, and CFG_DTT_ADM1021 defined) - add new "eeprom_probe()" function which has similar args and behaves in a similar way to "eeprom_read()" etc. - add 8260 FCC ethernet loopback code (new "eth_loopback_test()" function which is enabled by defining CONFIG_ETHER_LOOPBACK_TEST) - gdbtools copyright update - ensure that set_msr() executes the "sync" and "isync" instructions after the "mtmsr" instruction in cpu/mpc8260/interrupts.c - 8260 I/O ports fix: Open Drain should be set last when configuring - add SIU IRQ defines for 8260 - allow LDSCRIPT override and OBJCFLAGS initialization: change to config.mk to allow board configurations to override the GNU linker script, selected via the LDSCRIPT, make variable, and to give an initial value to the OBJCFLAGS make variable - 8260 i2c enhancement: o correctly extends the timeout depending on the size of all queued messages for both transmit and receive o will not continue with receive if transmit times out o ensures that the error callback is done for all queued tx and rx messages o correctly detects both tx and rx timeouts, only delivers one to the callback, and does not overwrite an earlier error o logic in i2c_probe now correct - add "vprintf()" function so that "panic()" function can be technically correct - many Hymod board changes