summaryrefslogtreecommitdiffstats
path: root/board/zeus
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-12 15:23:20 +0200
committerWolfgang Denk <wd@denx.de>2008-09-12 15:23:20 +0200
commitb476b032562aae5a09985f7e22232a5ee7042746 (patch)
tree0be91a99d935a06e1c51f9c7fc544ee4935762bb /board/zeus
parent06c4ab50f5ccfb55ea2dd324aa28b2b06102e416 (diff)
parentb18410e508a12ba0a177dfc2a386857c806fa96d (diff)
downloadtalos-obmc-uboot-b476b032562aae5a09985f7e22232a5ee7042746.tar.gz
talos-obmc-uboot-b476b032562aae5a09985f7e22232a5ee7042746.zip
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Diffstat (limited to 'board/zeus')
-rw-r--r--board/zeus/zeus.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/board/zeus/zeus.c b/board/zeus/zeus.c
index 33d971ab02..2a4ec5ca78 100644
--- a/board/zeus/zeus.c
+++ b/board/zeus/zeus.c
@@ -190,29 +190,6 @@ int checkboard(void)
return (0);
}
-static u32 detect_sdram_size(void)
-{
- u32 val;
- u32 size;
-
- mfsdram(mem_mb0cf, val);
- size = (4 << 20) << ((val & 0x000e0000) >> 17);
-
- /*
- * Check if 2nd bank is enabled too
- */
- mfsdram(mem_mb1cf, val);
- if (val & 1)
- size += (4 << 20) << ((val & 0x000e0000) >> 17);
-
- return size;
-}
-
-phys_size_t initdram (int board_type)
-{
- return detect_sdram_size();
-}
-
static int default_env_var(char *buf, char *var)
{
char *ptr;
OpenPOWER on IntegriCloud