x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / arm / mach-s5p64x0 / include / mach / uncompress.h
blobbbcc3f669ee3d7be4f003d90d1c4e4e75453a153
1 /* linux/arch/arm/mach-s5p64x0/include/mach/uncompress.h
3 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * S5P64X0 - uncompress code
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_UNCOMPRESS_H
14 #define __ASM_ARCH_UNCOMPRESS_H
16 #include <mach/map.h>
17 #include <plat/uncompress.h>
19 static void arch_detect_cpu(void)
21 unsigned int chipid;
23 chipid = *(const volatile unsigned int __force *) 0xE0100118;
25 if ((chipid & 0xff000) == 0x50000)
26 uart_base = (volatile u8 *)S5P6450_PA_UART(CONFIG_S3C_LOWLEVEL_UART_PORT);
27 else
28 uart_base = (volatile u8 *)S5P6440_PA_UART(CONFIG_S3C_LOWLEVEL_UART_PORT);
30 fifo_mask = S3C2440_UFSTAT_TXMASK;
31 fifo_max = 63 << S3C2440_UFSTAT_TXSHIFT;
34 #endif /* __ASM_ARCH_UNCOMPRESS_H */