From b59f4584f518528368dfa4fb864ac8fd0aa6bba2 Mon Sep 17 00:00:00 2001 From: Bernhard Nortmann Date: Wed, 20 Apr 2016 09:22:51 +0200 Subject: [PATCH] fel: Convert "needs_l2en" to boolean type Signed-off-by: Bernhard Nortmann --- fel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fel.c b/fel.c index 6443a06..83a787b 100644 --- a/fel.c +++ b/fel.c @@ -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 */