summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2008-06-12 12:40:11 +0200
committerWolfgang Denk <wd@denx.de>2008-06-19 22:48:45 +0200
commit96026d42fa4e646d28318c0a1438aac4b2017909 (patch)
treec47dd70e31e39917093f0ecc0b1cd968ef80571d
parenta94f22f08f280905926219e568568964cb9eeb9d (diff)
downloadu-boot-imx-96026d42fa4e646d28318c0a1438aac4b2017909.zip
u-boot-imx-96026d42fa4e646d28318c0a1438aac4b2017909.tar.gz
u-boot-imx-96026d42fa4e646d28318c0a1438aac4b2017909.tar.bz2
Fix 4xx build issue
Building for 4xx doesn't work since commit 4dbdb768: In file included from 4xx_pcie.c:28: include/asm/processor.h:971: error: expected ')' before 'ver' make[1]: *** [4xx_pcie.o] Error 1 This patch fixes the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--cpu/mpc85xx/cpu.c2
-rw-r--r--include/asm-ppc/processor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index 2b7e753..baf8b81 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -59,7 +59,7 @@ struct cpu_type cpu_type_list [] = {
CPU_TYPE_ENTRY(8572, 8572_E),
};
-struct cpu_type *identify_cpu(uint ver)
+struct cpu_type *identify_cpu(u32 ver)
{
int i;
for (i = 0; i < ARRAY_SIZE(cpu_type_list); i++)
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 139e686..5b50679 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -968,7 +968,7 @@ struct cpu_type {
u32 soc_ver;
};
-struct cpu_type *identify_cpu(uint ver);
+struct cpu_type *identify_cpu(u32 ver);
#define CPU_TYPE_ENTRY(n, v) \
{ .name = #n, .soc_ver = SVR_##v, }