summaryrefslogtreecommitdiff
path: root/board/MAI/AmigaOneG3SE/video.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-12-07 00:20:59 +0000
committerwdenk <wdenk>2002-12-07 00:20:59 +0000
commit7c7a23bd5a0bc149d2edd665ec46381726b24e0c (patch)
treed859f82ea2561180db2ffd7569f0b9007d710769 /board/MAI/AmigaOneG3SE/video.c
parent1f53a41603b9093c59741f4208fef0ab3790d6ce (diff)
downloadu-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.zip
u-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.tar.gz
u-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.tar.bz2
* Patch by Hans-Joerg Frieden, 06 Dec 2002
Fix misc problems with AmigaOne support * Patch by Chris Hallinan, 3 Dec 2002: minor cleanup to the MPC8245 EPIC driver * Patch by Pierre Aubert , 28 Nov 2002 Add support for external (SIU) interrupts on MPC8xx * Patch by Pierre Aubert , 28 Nov 2002 Fix nested syscalls bug in standalone applications * Patch by David Müller, 27 Nov 2002: fix output of "pciinfo" command for CardBus bridge devices. * Fix bug in TQM8260 board detection - boards got stuck when board ID was not readable
Diffstat (limited to 'board/MAI/AmigaOneG3SE/video.c')
-rw-r--r--board/MAI/AmigaOneG3SE/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/MAI/AmigaOneG3SE/video.c b/board/MAI/AmigaOneG3SE/video.c
index d0e366c..e80288b 100644
--- a/board/MAI/AmigaOneG3SE/video.c
+++ b/board/MAI/AmigaOneG3SE/video.c
@@ -474,13 +474,13 @@ void video_easteregg(void)
}
#endif
-extern bd_t *bd_global;
extern block_dev_desc_t * ide_get_dev(int dev);
extern char version_string[];
void video_banner(void)
{
block_dev_desc_t *ide;
+ DECLARE_GLOBAL_DATA_PTR;
int i;
char *s;
int maxdev;
@@ -513,8 +513,8 @@ void video_banner(void)
video_clear();
printf("%s\n\nCPU: ", version_string);
checkcpu();
- printf("DRAM: %ld MB\n", bd_global->bi_memsize/(1024*1024));
- printf("FSB: %ld MHz\n", bd_global->bi_busfreq/1000000);
+ printf("DRAM: %ld MB\n", gd->bd->bi_memsize/(1024*1024));
+ printf("FSB: %ld MHz\n", gd->bd->bi_busfreq/1000000);
printf("\n---- Disk summary ----\n");
for (i = 0; i < maxdev; i++)