Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Ben Avison
HAL_BCM2835
Commits
273729a0
Commit
273729a0
authored
Oct 26, 2018
by
Ben Avison
Browse files
Add support for Pi model 3A+
Tagged as 'BCM2835-0_75-1'
parent
e5e52cb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
hdr/BCM2835
hdr/BCM2835
+1
-0
s/GPIO
s/GPIO
+5
-0
s/SDIO
s/SDIO
+1
-0
No files found.
hdr/BCM2835
View file @
273729a0
...
...
@@ -364,6 +364,7 @@ BoardRevision_Model_Zero * 9 :SHL: BoardRevision_Model_Shift
BoardRevision_Model_Compute3
*
10
:SHL:
BoardRevision_Model_Shift
BoardRevision_Model_ZeroW
*
12
:SHL:
BoardRevision_Model_Shift
BoardRevision_Model_B3Plus
*
13
:SHL:
BoardRevision_Model_Shift
BoardRevision_Model_A3Plus
*
14
:SHL:
BoardRevision_Model_Shift
BoardRevision_Rev_Shift
*
0
BoardRevision_Rev_Mask
*
15
:SHL:
BoardRevision_Rev_Shift
...
...
s/GPIO
View file @
273729a0
...
...
@@ -213,6 +213,7 @@ GPIORevision_RaspberryPi_Zero # 1 ; Model Zero
GPIORevision_RaspberryPi_ZeroW
#
1
; Model ZeroW
GPIORevision_RaspberryPi_Mk3_B
#
1
; Model Pi 3 B
GPIORevision_RaspberryPi_Mk3_BPlus
#
1
; Model Pi 3 B+
GPIORevision_RaspberryPi_Mk3_APlus
#
1
; Model Pi 3 A+
GPIORevision_RaspberryPi_Max
#
0
Name_B_1
=
"Raspberry Pi B PCB 1.0"
,
0
...
...
@@ -227,6 +228,7 @@ Name_Zero = "Raspberry Pi Zero", 0
Name_ZeroW
=
"Raspberry Pi Zero W"
,
0
Name_Mk3_B
=
"Raspberry Pi 3 Model B"
,
0
Name_Mk3_BPlus
=
"Raspberry Pi 3 Model B+"
,
0
Name_Mk3_APlus
=
"Raspberry Pi 3 Model A+"
,
0
Name_Unknown
=
"Raspberry Pi Unknown"
,
0
ALIGN
...
...
@@ -243,6 +245,7 @@ GPIO_Board_Names_Table ; same order as GPIORevision_RaspberryPi types
DCD
Name_ZeroW
DCD
Name_Mk3_B
DCD
Name_Mk3_BPlus
DCD
Name_Mk3_APlus
ASSERT
(
.
-
GPIO_Board_Names_Table
)
:SHR:
2
=
GPIORevision_RaspberryPi_Max
; Lookup table to determine board type (old style)
...
...
@@ -303,6 +306,8 @@ GPIO_Board_Conversion_Table
DCD
GPIORevision_RaspberryPi_ZeroW
DCD
BoardRevision_Mem_1G
+
BoardRevision_Model_B3Plus
+(
3
:SHL:
BoardRevision_Rev_Shift
)
DCD
GPIORevision_RaspberryPi_Mk3_BPlus
DCD
BoardRevision_Mem_512M
+
BoardRevision_Model_A3Plus
+(
0
:SHL:
BoardRevision_Rev_Shift
)
DCD
GPIORevision_RaspberryPi_Mk3_APlus
DCD
&FF
; Initialise our HAL devices
...
...
s/SDIO
View file @
273729a0
...
...
@@ -388,6 +388,7 @@ SDIO_InitDevices ROUT
ADDHS
a2
,
a2
,
#
GetCardDetect_BPlus_Compute
-
GetCardDetect_AB
TEQ
a3
,
#
BoardRevision_Model_B3
TEQNE
a3
,
#
BoardRevision_Model_B3Plus
TEQ
a3
,
#
BoardRevision_Model_A3Plus
ADREQL
a1
,
SetActivity_B3
STR
a1
,
SDHCIDevice
+
HALDevice_SDHCISetActivity
STR
a2
,
SDHCIDevice
+
HALDevice_SDHCIGetCardDetect
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment