From owner-svn-src-head@FreeBSD.ORG Sun Aug 17 02:53:37 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7624D9D4; Sun, 17 Aug 2014 02:53:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6200429FC; Sun, 17 Aug 2014 02:53:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7H2rbow021468; Sun, 17 Aug 2014 02:53:37 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7H2rbN1021467; Sun, 17 Aug 2014 02:53:37 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201408170253.s7H2rbN1021467@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Sun, 17 Aug 2014 02:53:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r270080 - head/sys/arm/at91 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 02:53:37 -0000 Author: ian Date: Sun Aug 17 02:53:36 2014 New Revision: 270080 URL: http://svnweb.freebsd.org/changeset/base/270080 Log: Rename the old initarm_* functions to the new platform_* names. Also move the registration of the static device map table into the function intended to do devmap init stuff. Modified: head/sys/arm/at91/at91_common.c Modified: head/sys/arm/at91/at91_common.c ============================================================================== --- head/sys/arm/at91/at91_common.c Sun Aug 17 02:40:44 2014 (r270079) +++ head/sys/arm/at91/at91_common.c Sun Aug 17 02:53:36 2014 (r270080) @@ -7,6 +7,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -55,36 +56,37 @@ at91_eoi(void *unused) vm_offset_t -initarm_lastaddr(void) +platform_lastaddr(void) { return (arm_devmap_lastaddr()); } void -initarm_early_init(void) +platform_probe_and_attach(void) { arm_post_filter = at91_eoi; at91_soc_id(); - arm_devmap_register_table(at91_devmap); } int -initarm_devmap_init(void) +platform_devmap_init(void) { // arm_devmap_add_entry(0xfff00000, 0x00100000); /* 1MB - uart, aic and timers*/ + arm_devmap_register_table(at91_devmap); + return (0); } void -initarm_gpio_init(void) +platform_gpio_init(void) { } void -initarm_late_init(void) +platform_late_init(void) { }