mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-21 14:11:36 +00:00
Drop the log buffer
This does not appear to be used by any boards. Before introducing a new log system, remove this old one. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
0ad0458c76
commit
c5404b64fb
12 changed files with 5 additions and 436 deletions
|
@ -19,7 +19,6 @@
|
|||
#include <i2c.h>
|
||||
#include <initcall.h>
|
||||
#include <init_helpers.h>
|
||||
#include <logbuff.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
#include <os.h>
|
||||
|
@ -296,20 +295,6 @@ static int setup_dest_addr(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_LOGBUFFER)
|
||||
static int reserve_logbuffer(void)
|
||||
{
|
||||
#ifndef CONFIG_ALT_LB_ADDR
|
||||
/* reserve kernel log buffer */
|
||||
gd->relocaddr -= LOGBUFF_RESERVE;
|
||||
debug("Reserving %dk for kernel logbuffer at %08lx\n", LOGBUFF_LEN,
|
||||
gd->relocaddr);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PRAM
|
||||
/* reserve protected RAM */
|
||||
static int reserve_pram(void)
|
||||
|
@ -846,9 +831,6 @@ static const init_fnc_t init_sequence_f[] = {
|
|||
* - board info struct
|
||||
*/
|
||||
setup_dest_addr,
|
||||
#if defined(CONFIG_LOGBUFFER)
|
||||
reserve_logbuffer,
|
||||
#endif
|
||||
#ifdef CONFIG_PRAM
|
||||
reserve_pram,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue