Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
ef858821
Unverified
Commit
ef858821
authored
Sep 29, 2020
by
Chen-Yu Tsai
Committed by
GitHub
Sep 29, 2020
Browse files
Merge pull request #139 from Icenowy/v3s-spi
spi: add support for V3s SoC
parents
613e4bae
b330eeb8
Changes
1
Show whitespace changes
Inline
Side-by-side
fel-spiflash.c
View file @
ef858821
...
...
@@ -154,6 +154,7 @@ static bool spi0_init(feldev_handle *dev)
switch
(
soc_info
->
soc_id
)
{
case
0x1625
:
/* Allwinner A13 */
case
0x1680
:
/* Allwinner H3 */
case
0x1681
:
/* Allwinner V3s */
case
0x1718
:
/* Allwinner H5 */
gpio_set_cfgpin
(
dev
,
PC
,
0
,
SUNXI_GPC_SPI0
);
gpio_set_cfgpin
(
dev
,
PC
,
1
,
SUNXI_GPC_SPI0
);
...
...
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