mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -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
|
||||
|
Reference in New Issue
Block a user