mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
2a1680e30e
Some platforms (tested on mpc85xx, mpc86xx) use global data before calling function baord_inti_f(). The data should not be cleared later. Any arch which uses global data in generic board board_init_f() should define CONFIG_SYS_GENERIC_GLOBAL_DATA. Signed-off-by: York Sun <yorksun@freescale.com> CC: Scott Wood <scottwood@freescale.com> CC: Simon Glass <sjg@chromium.org> CC: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: Simon Glass <sjg@chromium.org>
21 lines
452 B
C
21 lines
452 B
C
/*
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_CONFIG_H_
|
|
#define _ASM_CONFIG_H_
|
|
|
|
#define CONFIG_SYS_GENERIC_GLOBAL_DATA
|
|
#define CONFIG_SANDBOX_ARCH
|
|
|
|
/* Used by drivers/spi/sandbox_spi.c and arch/sandbox/include/asm/state.h */
|
|
#ifndef CONFIG_SANDBOX_SPI_MAX_BUS
|
|
#define CONFIG_SANDBOX_SPI_MAX_BUS 1
|
|
#endif
|
|
#ifndef CONFIG_SANDBOX_SPI_MAX_CS
|
|
#define CONFIG_SANDBOX_SPI_MAX_CS 10
|
|
#endif
|
|
|
|
#endif
|