7916f4cef6
Kconfig directives to select chip drivers for compile literally match the chip directory names capitalized and underscored. Rename directories and Kconfig as follows: model_lx -> geode_lx model_gx1 -> geode_gx1 model_gx2 -> geode_gx2 Change-Id: Ib8bf1e758b88f9efed1cf8b11c76b796388e7147 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/613 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
51 lines
1.6 KiB
C
51 lines
1.6 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2009 Myles Watson <mylesgw@gmail.com>
|
|
*
|
|
* 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; version 2 of the License.
|
|
*
|
|
* 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., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
|
|
*/
|
|
|
|
/* This file is for "nuisance prototypes" that have no other home. */
|
|
|
|
#ifndef __LIB_H__
|
|
#define __LIB_H__
|
|
|
|
#ifndef __ROMCC__ /* romcc doesn't support prototypes. */
|
|
|
|
#ifndef __PRE_RAM__ /* Conflicts with romcc_io.h */
|
|
/* Defined in src/lib/clog2.c */
|
|
unsigned long log2(unsigned long x);
|
|
#endif
|
|
|
|
/* Defined in src/lib/lzma.c */
|
|
unsigned long ulzma(unsigned char *src, unsigned char *dst);
|
|
|
|
/* Defined in src/arch/x86/boot/gdt.c */
|
|
void move_gdt(void);
|
|
|
|
/* Defined in src/lib/ramtest.c */
|
|
void ram_check(unsigned long start, unsigned long stop);
|
|
int ram_check_nodie(unsigned long start, unsigned long stop);
|
|
void quick_ram_check(void);
|
|
|
|
/* Defined in romstage.c */
|
|
#if CONFIG_CPU_AMD_GEODE_LX
|
|
void cache_as_ram_main(void);
|
|
#else
|
|
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
|
|
#endif
|
|
|
|
#endif /* __ROMCC__ */
|
|
#endif /* __LIB_H__ */
|