mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-22 15:42:04 +00:00
e945f6dc28
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
18 lines
321 B
C
18 lines
321 B
C
/*
|
|
* Copyright 2009 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_CONFIG_H_
|
|
#define _ASM_CONFIG_H_
|
|
|
|
#ifndef CONFIG_SPL_BUILD
|
|
#define CONFIG_NEEDS_MANUAL_RELOC
|
|
#endif
|
|
|
|
#define CONFIG_NR_DRAM_BANKS 1
|
|
#define CONFIG_SYS_GENERIC_BOARD
|
|
#define CONFIG_SYS_GENERIC_GLOBAL_DATA
|
|
|
|
#endif
|