Commit c61322a8 authored by Federico Vaga's avatar Federico Vaga

sw:drv: improve style

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent f4a05922
...@@ -318,17 +318,15 @@ static struct resource svec_fpga_spi_res[] = { ...@@ -318,17 +318,15 @@ static struct resource svec_fpga_spi_res[] = {
}; };
static struct mtd_partition svec_flash_parts[] = { static struct mtd_partition svec_flash_parts[] = {
[0] = { {
.name = "SFPGA", .name = "SFPGA",
.offset = 0, .offset = 0,
.size = SZ_1M, .size = SZ_1M,
}, }, {
[1] = {
.name = "AFPGA", .name = "AFPGA",
.offset = 0x100000, .offset = 0x100000,
.size = 5 * SZ_1M, .size = 5 * SZ_1M,
}, }, {
[2] = {
.name = "AFPGA_DATA", .name = "AFPGA_DATA",
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL, .size = MTDPART_SIZ_FULL,
......
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