From owner-p4-projects@FreeBSD.ORG Fri Apr 14 06:33:27 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 748C816A405; Fri, 14 Apr 2006 06:33:27 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 550B316A400 for ; Fri, 14 Apr 2006 06:33:27 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24D5D43D48 for ; Fri, 14 Apr 2006 06:33:27 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3E6XRAs060508 for ; Fri, 14 Apr 2006 06:33:27 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3E6XQ51060502 for perforce@freebsd.org; Fri, 14 Apr 2006 06:33:26 GMT (envelope-from imp@freebsd.org) Date: Fri, 14 Apr 2006 06:33:26 GMT Message-Id: <200604140633.k3E6XQ51060502@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 95233 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 06:33:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=95233 Change 95233 by imp@imp_hammer on 2006/04/14 06:33:20 We can use boot0's lowlevel routine. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/bootiic/arm_init.s#2 edit .. //depot/projects/arm/src/sys/boot/arm/at91/bootiic/at91rm9200_lowlevel.c#2 delete .. //depot/projects/arm/src/sys/boot/arm/at91/bootiic/at91rm9200_lowlevel.h#2 delete .. //depot/projects/arm/src/sys/boot/arm/at91/bootiic/emac.c#2 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/bootiic/arm_init.s#2 (text+ko) ==== @@ -76,9 +76,9 @@ /* Perform system initialization */ - .extern DefaultSystemInit + .extern _init - bl DefaultSystemInit + bl _init ldr r1, = SVC_STACK_USE mov sp, r1 @ ; Move the stack to SDRAM ==== //depot/projects/arm/src/sys/boot/arm/at91/bootiic/emac.c#2 (text+ko) ==== @@ -23,6 +23,7 @@ #include "AT91RM9200.h" #include "emac.h" #include "p_string.h" +#include "at91rm9200_lowlevel.h" /* ****************************** GLOBALS *************************************/