diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-12 15:24:54 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-12 15:24:54 +0200 |
commit | 6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7 (patch) | |
tree | a7468c1a17feaf28d8ef3443fe5b6f544ecddb72 /board/zeus/zeus.c | |
parent | 7238ada313057a85409485b8ee21515dc10c07a5 (diff) | |
parent | b476b032562aae5a09985f7e22232a5ee7042746 (diff) | |
download | u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.zip u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.gz u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.bz2 |
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'board/zeus/zeus.c')
-rw-r--r-- | board/zeus/zeus.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/board/zeus/zeus.c b/board/zeus/zeus.c index 33d971a..2a4ec5c 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; |