Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 00:50:58 +0000 (UTC)
From:      Bernd Walter <ticso@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204900 - in head/sys/boot/arm/at91: boot2 libat91
Message-ID:  <201003090050.o290ow9I057808@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ticso
Date: Tue Mar  9 00:50:58 2010
New Revision: 204900
URL: http://svn.freebsd.org/changeset/base/204900

Log:
  BWCT boards can have 128MB SDRAM.

Modified:
  head/sys/boot/arm/at91/boot2/bwct_board.c
  head/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c

Modified: head/sys/boot/arm/at91/boot2/bwct_board.c
==============================================================================
--- head/sys/boot/arm/at91/boot2/bwct_board.c	Tue Mar  9 00:48:06 2010	(r204899)
+++ head/sys/boot/arm/at91/boot2/bwct_board.c	Tue Mar  9 00:50:58 2010	(r204900)
@@ -90,7 +90,11 @@ board_init(void)
 	printf("BWCT FSB-A920-1\n");
 	printf("http://www.bwct.de\n");
 	printf("\n");
-	printf("AT92RM9200 180MHz\n");
+#if defined(SDRAM_128M)
+	printf("AT92RM9200 180MHz 128MB\n");
+#else
+	printf("AT92RM9200 180MHz 64MB\n");
+#endif
 	printf("Initialising USART0\n");
 	USART0_Init();
 	printf("Initialising USART1\n");

Modified: head/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c
==============================================================================
--- head/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c	Tue Mar  9 00:48:06 2010	(r204899)
+++ head/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c	Tue Mar  9 00:50:58 2010	(r204900)
@@ -136,7 +136,7 @@ _init(void)
 	AT91C_BASE_EBI->EBI_CSA = value;
 
 	AT91C_BASE_SDRC->SDRC_CR =
-#ifdef KB9202_B
+#if defined(KB9202_B) || defined(SDRAM_128M)
 	    AT91C_SDRC_NC_10 |
 #else
 	    AT91C_SDRC_NC_9 |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003090050.o290ow9I057808>