mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
74d02fb954
FLUSH_BASE must be visible to arch/arm/mm/init.c in order for the memory region to be setup. Move these definitions from asm-arm/arch-*/hardware.h into asm-arm/arch-*/memory.h where mm stuff can see them. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
52 lines
942 B
C
52 lines
942 B
C
/*
|
|
* linux/include/asm-arm/arch-shark/hardware.h
|
|
*
|
|
* by Alexander Schulz
|
|
*
|
|
* derived from:
|
|
* linux/include/asm-arm/arch-ebsa110/hardware.h
|
|
* Copyright (C) 1996-1999 Russell King.
|
|
*/
|
|
#ifndef __ASM_ARCH_HARDWARE_H
|
|
#define __ASM_ARCH_HARDWARE_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
/*
|
|
* Mapping areas
|
|
*/
|
|
#define IO_BASE 0xe0000000
|
|
|
|
#else
|
|
|
|
#define IO_BASE 0
|
|
|
|
#endif
|
|
|
|
#define IO_SIZE 0x08000000
|
|
#define IO_START 0x40000000
|
|
#define ROMCARD_SIZE 0x08000000
|
|
#define ROMCARD_START 0x10000000
|
|
|
|
#define PCIO_BASE 0xe0000000
|
|
|
|
|
|
/* defines for the Framebuffer */
|
|
#define FB_START 0x06000000
|
|
#define FB_SIZE 0x01000000
|
|
|
|
#define UNCACHEABLE_ADDR 0xdf010000
|
|
|
|
#define SEQUOIA_LED_GREEN (1<<6)
|
|
#define SEQUOIA_LED_AMBER (1<<5)
|
|
#define SEQUOIA_LED_BACK (1<<7)
|
|
|
|
#define pcibios_assign_all_busses() 1
|
|
|
|
#define PCIBIOS_MIN_IO 0x6000
|
|
#define PCIBIOS_MIN_MEM 0x50000000
|
|
#define PCIMEM_BASE 0xe8000000
|
|
|
|
#endif
|
|
|