ms7720se.c (859f24350e6e4313626f85161dd03f025a4dac59) | ms7720se.c (6d0f6bcf337c5261c08fabe12982178c2c489d76) |
---|---|
1/* 2 * Copyright (C) 2007 3 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 4 * 5 * Copyright (C) 2007 6 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 7 * 8 * Copyright (C) 2007 --- 33 unchanged lines hidden (view full) --- 42{ 43 return 0; 44} 45 46int dram_init(void) 47{ 48 DECLARE_GLOBAL_DATA_PTR; 49 | 1/* 2 * Copyright (C) 2007 3 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 4 * 5 * Copyright (C) 2007 6 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 7 * 8 * Copyright (C) 2007 --- 33 unchanged lines hidden (view full) --- 42{ 43 return 0; 44} 45 46int dram_init(void) 47{ 48 DECLARE_GLOBAL_DATA_PTR; 49 |
50 gd->bd->bi_memstart = CFG_SDRAM_BASE; 51 gd->bd->bi_memsize = CFG_SDRAM_SIZE; 52 printf("DRAM: %dMB\n", CFG_SDRAM_SIZE / (1024 * 1024)); | 50 gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; 51 gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE; 52 printf("DRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024)); |
53 return 0; 54} 55 56void led_set_state(unsigned short value) 57{ 58 outw(value & 0xFF, LED_BASE); 59} | 53 return 0; 54} 55 56void led_set_state(unsigned short value) 57{ 58 outw(value & 0xFF, LED_BASE); 59} |