mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
When CONFIG_PCI is disabled, the definitions for isa_io_base, isa_mem_base and pci_dram_offset are entirely unused, but they can result in link failure because they are defined in multiple places. The easiest fix is to just remove all these definitions. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
33 lines
881 B
C
33 lines
881 B
C
/*
|
|
* MPC86xx definitions
|
|
*
|
|
* Author: Jeff Brown
|
|
*
|
|
* Copyright 2004 Freescale Semiconductor, Inc
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
#ifndef __ASM_POWERPC_MPC86xx_H__
|
|
#define __ASM_POWERPC_MPC86xx_H__
|
|
|
|
#include <asm/mmu.h>
|
|
|
|
#ifdef CONFIG_PPC_86xx
|
|
|
|
#define CPU0_BOOT_RELEASE 0x01000000
|
|
#define CPU1_BOOT_RELEASE 0x02000000
|
|
#define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE)
|
|
#define MCM_PORT_CONFIG_OFFSET 0x1010
|
|
|
|
/* Offset from CCSRBAR */
|
|
#define MPC86xx_MCM_OFFSET (0x00000)
|
|
#define MPC86xx_MCM_SIZE (0x02000)
|
|
|
|
#endif /* CONFIG_PPC_86xx */
|
|
#endif /* __ASM_POWERPC_MPC86xx_H__ */
|
|
#endif /* __KERNEL__ */
|