summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-01-09 14:06:28 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-01-14 01:32:22 -0600
commit3dbd5d7d7e2c98380779a48a422afa239d3bbdf4 (patch)
tree2256dda3befc7dc4e153f7ae69d7e36aa35b6c71 /arch/powerpc/include/asm
parentae026ffd1e1a3f98b13c121acf5a677a5925a0e1 (diff)
downloadu-boot-imx-3dbd5d7d7e2c98380779a48a422afa239d3bbdf4.zip
u-boot-imx-3dbd5d7d7e2c98380779a48a422afa239d3bbdf4.tar.gz
u-boot-imx-3dbd5d7d7e2c98380779a48a422afa239d3bbdf4.tar.bz2
powerpc/8xxx: Move fsl_is_spd() into generic 8xxx ddr code
Move the parsing of hwconfig to determine if to use spd into common code so we can share it across all boards instead of duplicating it everywhere. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/fsl_ddr_sdram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/fsl_ddr_sdram.h b/arch/powerpc/include/asm/fsl_ddr_sdram.h
index 8ceae18..3de2113 100644
--- a/arch/powerpc/include/asm/fsl_ddr_sdram.h
+++ b/arch/powerpc/include/asm/fsl_ddr_sdram.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2010 Freescale Semiconductor, Inc.
+ * Copyright 2008-2011 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
@@ -213,6 +213,7 @@ typedef struct memctl_options_s {
} memctl_options_t;
extern phys_size_t fsl_ddr_sdram(void);
+extern int fsl_use_spd(void);
/*
* The 85xx boards have a common prototype for fixed_sdram so put the