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
b59f4584
Commit
b59f4584
authored
Apr 20, 2016
by
Bernhard Nortmann
Browse files
fel: Convert "needs_l2en" to boolean type
Signed-off-by:
Bernhard Nortmann
<
bernhard.nortmann@web.de
>
parent
3acd9a9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
fel.c
View file @
b59f4584
...
...
@@ -454,7 +454,7 @@ typedef struct {
uint32_t
scratch_addr
;
/* A safe place to upload & run code */
uint32_t
thunk_addr
;
/* Address of the thunk code */
uint32_t
thunk_size
;
/* Maximal size of the thunk code */
uint32_t
needs_l2en
;
/* Set the L2EN bit */
bool
needs_l2en
;
/* Set the L2EN bit */
uint32_t
mmu_tt_addr
;
/* MMU translation table address */
sram_swap_buffers
*
swap_buffers
;
}
soc_sram_info
;
...
...
@@ -502,14 +502,14 @@ soc_sram_info soc_sram_info_table[] = {
.
scratch_addr
=
0x2000
,
.
thunk_addr
=
0xAE00
,
.
thunk_size
=
0x200
,
.
swap_buffers
=
a10_a13_a20_sram_swap_buffers
,
.
needs_l2en
=
1
,
.
needs_l2en
=
true
,
},
{
.
soc_id
=
0x1625
,
/* Allwinner A13 */
.
scratch_addr
=
0x2000
,
.
thunk_addr
=
0xAE00
,
.
thunk_size
=
0x200
,
.
swap_buffers
=
a10_a13_a20_sram_swap_buffers
,
.
needs_l2en
=
1
,
.
needs_l2en
=
true
,
},
{
.
soc_id
=
0x1651
,
/* Allwinner A20 */
...
...
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