android_kernel_xiaomi_sm8350/arch/ppc/platforms/4xx/cpci405.h
Matthias Fuchs 2ba73b1d6f [POWERPC] ppc32: fix CPCI405 board support
Hi,

this patch brings the CPCI405 board support up to date and fixes several
outstanding issues:

       -add bios_fixup()
       -enable RTC only when CONFIG_GEN_RTC defined
       -corrected CompactPCI interrupt map
       -added cpci405_early_serial_map for correct UART clocking
       -removed unused code

Matthias

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-06-15 19:31:27 +10:00

30 lines
661 B
C

/*
* CPCI-405 board specific definitions
*
* Copyright 2001-2006 esd electronic system design - hannover germany
*
* Authors: Matthias Fuchs
* matthias.fuchs@esd-electronics.com
* Stefan Roese
* stefan.roese@esd-electronics.com
*/
#ifdef __KERNEL__
#ifndef __CPCI405_H__
#define __CPCI405_H__
#include <linux/config.h>
#include <platforms/4xx/ibm405gp.h>
#include <asm/ppcboot.h>
/* Map for the NVRAM space */
#define CPCI405_NVRAM_PADDR ((uint)0xf0200000)
#define CPCI405_NVRAM_SIZE ((uint)32*1024)
#define BASE_BAUD 0
#define PPC4xx_MACHINE_NAME "esd CPCI-405"
#endif /* __CPCI405_H__ */
#endif /* __KERNEL__ */