Commit 9274df1c authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Hand off ownership of GPIODevice

The kernel has no place holding this header export, since it doesn't use it nor implement any of its interfaces.

Version 5.35, 4.79.2.296. Tagged as 'Kernel-5_35-4_79_2_296'
parent cdd7040b
......@@ -35,7 +35,6 @@ EXPORTS = ${EXP_HDR}.EnvNumbers \
${EXP_HDR}.SPIDevice \
${EXP_HDR}.AHCIDevice \
${EXP_HDR}.EtherDevice \
${EXP_HDR}.GPIODevice \
${EXP_HDR}.HALDevice \
${EXP_HDR}.HALEntries \
${EXP_HDR}.ModHand \
......@@ -112,9 +111,6 @@ ${EXP_HDR}.AHCIDevice: hdr.AHCIDevice
${EXP_HDR}.EtherDevice: hdr.EtherDevice
${CP} hdr.EtherDevice $@ ${CPFLAGS}
${EXP_HDR}.GPIODevice: hdr.GPIODevice
${CP} hdr.GPIODevice $@ ${CPFLAGS}
${EXP_HDR}.HALDevice: hdr.HALDevice
${CP} hdr.HALDevice $@ ${CPFLAGS}
......
......@@ -13,11 +13,11 @@
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.35"
Module_Version SETA 535
Module_MinorVersion SETS "4.79.2.295"
Module_Date SETS "16 Oct 2015"
Module_ApplicationDate SETS "16-Oct-15"
Module_MinorVersion SETS "4.79.2.296"
Module_Date SETS "28 Oct 2015"
Module_ApplicationDate SETS "28-Oct-15"
Module_ComponentName SETS "Kernel"
Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel"
Module_FullVersion SETS "5.35 (4.79.2.295)"
Module_HelpVersion SETS "5.35 (16 Oct 2015) 4.79.2.295"
Module_FullVersion SETS "5.35 (4.79.2.296)"
Module_HelpVersion SETS "5.35 (28 Oct 2015) 4.79.2.296"
END
......@@ -5,19 +5,19 @@
*
*/
#define Module_MajorVersion_CMHG 5.35
#define Module_MinorVersion_CMHG 4.79.2.295
#define Module_Date_CMHG 16 Oct 2015
#define Module_MinorVersion_CMHG 4.79.2.296
#define Module_Date_CMHG 28 Oct 2015
#define Module_MajorVersion "5.35"
#define Module_Version 535
#define Module_MinorVersion "4.79.2.295"
#define Module_Date "16 Oct 2015"
#define Module_MinorVersion "4.79.2.296"
#define Module_Date "28 Oct 2015"
#define Module_ApplicationDate "16-Oct-15"
#define Module_ApplicationDate "28-Oct-15"
#define Module_ComponentName "Kernel"
#define Module_ComponentPath "castle/RiscOS/Sources/Kernel"
#define Module_FullVersion "5.35 (4.79.2.295)"
#define Module_HelpVersion "5.35 (16 Oct 2015) 4.79.2.295"
#define Module_FullVersion "5.35 (4.79.2.296)"
#define Module_HelpVersion "5.35 (28 Oct 2015) 4.79.2.296"
#define Module_LibraryVersionInfo "5:35"
; Copyright 2011 Castle Technology Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; Public interface of GPIO HAL devices
GET hdr:HALDevice
OldOpt SETA {OPT}
OPT OptNoList+OptNoP1List
[ :LNOT: :DEF: Included_Hdr_GPIODevice
GBLL Included_Hdr_GPIODevice
Included_Hdr_GPIODevice SETL {TRUE}
; Device for GPIO devices
; This device just reports the board type and revision, so that the GPIO manager
; knows how everything is set up and which bits should be off-limits.
^ 0
# HALDeviceSize
HALDevice_GPIOType # 4
HALDevice_GPIORevision # 4
HALDevice_GPIO_Size * :INDEX: @
; Type & revision values specific to HALDeviceID_GPIO_OMAP3:
^ 0
GPIOType_OMAP3_BeagleBoard # 1 ; It's a BeagleBoard or BB-xM
GPIOType_OMAP3_DevKit8000 # 1 ; It's a DevKit 8000
GPIOType_OMAP3_IGEPv2 # 1 ; It's an IGEP v2
GPIOType_OMAP3_Pandora # 1 ; It's a Pandora
GPIOType_OMAP3_TouchBook # 1 ; It's a TouchBook
; BeagleBoard revision values:
^ 0
; BeagleBoard:
GPIORevision_BeagleBoard_AB # 1 ; Rev A or B
GPIORevision_BeagleBoard_C123 # 1 ; Rev C1, C2 or C3
GPIORevision_BeagleBoard_C4 # 1 ; Rev C4
; BeagleBoard-xM:
GPIORevision_BeagleBoard_xMA # 1 ; Rev A
GPIORevision_BeagleBoard_xMB # 1 ; Rev B
GPIORevision_BeagleBoard_xMC # 1 ; Rev C
; DevKit revision values:
^ 0
GPIORevision_DevKit8000_Unknown # 1
; IGEP revision values:
^ 0
GPIORevision_IGEPv2_BC # 1 ; Rev B or C (B-compatible)
GPIORevision_IGEPv2_C # 1 ; Rev C (not a B-compatible one)
; Pandora revision values:
^ 0
GPIORevision_Pandora_Unknown # 1
; TouchBook revision values:
^ 0
GPIORevision_TouchBook_Unknown # 1
; Type & revision values specific to HALDeviceID_GPIO_BCM2835:
^ 0
GPIOType_BCM2835_RaspberryPi # 1 ; It's a Raspberry Pi
; Raspberry Pi revision values:
^ 0
GPIORevision_RaspberryPi_B_1 # 1 ; Model B Rev 1.0
GPIORevision_RaspberryPi_B_2 # 1 ; Model B Rev 2.0
GPIORevision_RaspberryPi_A_2 # 1 ; Model A Rev 2.0
GPIORevision_RaspberryPi_BPlus # 1 ; Model B+
GPIORevision_RaspberryPi_C_1 # 1 ; Model Compute Rev 1.0
GPIORevision_RaspberryPi_APlus # 1 ; Model A+
GPIORevision_RaspberryPi_Mk2_B_1 # 1 ; Model Pi 2
; Type & revision values specific to HALDeviceID_GPIO_OMAP4:
^ 0
GPIOType_OMAP4_Panda # 1 ; It's a PandaBoard or PandaBoard-ES
; Panda revision values:
^ 0
GPIORevision_Panda # 1 ; PandaBoard
GPIORevision_PandaES # 1 ; PandaBoard-ES
; iMx6 type and revision values:
^ 0
GPIOType_iMx6Q # 1 ;
^ 0
GPIORevision_iMx6Q_WBrevB # 1 ; Initial development
GPIORevision_iMx6Q_WBrevC1 # 1 ;
]
OPT OldOpt
END
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment