[coreboot] [PATCH] artecgroup/dbe62: Set up 4MB mode for LPC dongle

Ward Vandewege ward at gnu.org
Tue Apr 15 19:53:07 CEST 2008


On Tue, Apr 15, 2008 at 08:16:44PM +0300, Mart Raudsepp wrote:
> artecgroup/dbe62: Set up 4MB mode for LPC dongle
> 
> This way we can fit a kernel and initramfs on the dongle's free ~3.75MB
> space and have a debug system bootable right from inside the dongle.
>
> The start address of the dongle is mem at 0xffc00000 for FILO with 4MB minus
> ROM area available.
> 
> Signed-off-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>

This should be a no-op for the onboard flash.

Acked-by: Ward Vandewege <ward at gnu.org>

Thanks,
Ward.

> ---
> 
> For your consideration of suitability for stage1 mainboard setup.
> 
>  mainboard/artecgroup/dbe62/stage1.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/mainboard/artecgroup/dbe62/stage1.c b/mainboard/artecgroup/dbe62/stage1.c
> index 45a7c1c..45609ce 100644
> --- a/mainboard/artecgroup/dbe62/stage1.c
> +++ b/mainboard/artecgroup/dbe62/stage1.c
> @@ -59,6 +59,9 @@ void hardware_stage1(void)
>  	 * early MSR setup for the CS5536.
>  	 */
>  	cs5536_setup_onchipuart(2);
> +
> +	/* Set up 4MB mode for Artec LPC Dongle */
> +	outb(0xf4,0x88);
>  }
>  
>  void mainboard_pre_payload(void)
> -- 
> 1.5.4.5
> 
> 
> -- 
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
> 
> 
> !DSPAM:4804e25589155026718549!
> 
-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator




More information about the coreboot mailing list