X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Flogbuff.h;h=625feb9f95a09491477a8c42a6f65f82d130de96;hb=5a1d0ad3ee1ba98ca273c4b35c68618f107ccadd;hp=d4157290538c1baf1433a5846469055712efd059;hpb=5ddd67efa537fa24318a91aaaf10e4baf065f45d;p=karo-tx-uboot.git diff --git a/include/logbuff.h b/include/logbuff.h index d415729053..625feb9f95 100644 --- a/include/logbuff.h +++ b/include/logbuff.h @@ -2,23 +2,7 @@ * (C) Copyright 2002-2007 * Detlev Zundel, dzu@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LOGBUFF_H #define _LOGBUFF_H @@ -31,8 +15,6 @@ #define LOGBUFF_OVERHEAD (4096) /* Logbuffer overhead for extra info */ #define LOGBUFF_RESERVE (LOGBUFF_LEN+LOGBUFF_OVERHEAD) -#define LOGBUFF_INITIALIZED (1<<31) - /* The mapping used here has to be the same as in setup_ext_logbuff () in linux/kernel/printk */ @@ -60,6 +42,7 @@ int drv_logbuff_init (void); void logbuff_init_ptrs (void); void logbuff_log(char *msg); void logbuff_reset (void); +unsigned long logbuffer_base (void); #endif /* CONFIG_LOGBUFFER */