Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-03 Thread Cédric Le Goater
Thanks for your suggestion. How about these changes? 1. aspeed_smc.h struct AspeedSMCClass { const MemoryRegionOps *reg_ops; } 2. aspeed_smc.c a. create new memory region opts for ast2700 static const MemoryRegionOps aspeed_2700_smc_flash_ops = { .read = aspeed_smc_flash_read, .wr

RE: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-03 Thread Jamin Lin
Hi Cedric, > From: Cédric Le Goater > Subject: Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support > > On 6/3/24 11:49, Jamin Lin wrote: > > Hi Cedric, > > > >> From: Cédric Le Goater > >> Subject: Re: [SPAM] Re: [PATCH v4 0

Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-03 Thread Cédric Le Goater
On 6/3/24 11:49, Jamin Lin wrote: Hi Cedric, From: Cédric Le Goater Subject: Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support @@ -670,7 +670,7 @@ static const MemoryRegionOps aspeed_smc_flash_ops = {   .endianness = DEVICE_LITTLE_ENDIAN,   .valid

RE: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-03 Thread Jamin Lin
Hi Cedric, > From: Cédric Le Goater > Subject: Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support > > >>>> @@ -670,7 +670,7 @@ static const MemoryRegionOps > >> aspeed_smc_flash_ops > >>>> = { > >>>>

Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-03 Thread Cédric Le Goater
@@ -670,7 +670,7 @@ static const MemoryRegionOps aspeed_smc_flash_ops = {   .endianness = DEVICE_LITTLE_ENDIAN,   .valid = {   .min_access_size = 1, -    .max_access_size = 4, +    .max_access_size = 8, Is this a bugfix? If so, please use a separate patch. Otherwise

RE: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-06-02 Thread Jamin Lin
ist:ASPEED BMCs > ; open list:All patches CC here > > Cc: Troy Lee ; Yunlin Tang > > Subject: Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support > > On 5/27/24 17:58, Philippe Mathieu-Daudé wrote: > > Hi, > > > > On 27/5/24 10:02, Jamin Lin wrote:

Re: [SPAM] Re: [PATCH v4 09/16] aspeed/smc: Add AST2700 support

2024-05-28 Thread Cédric Le Goater
On 5/27/24 17:58, Philippe Mathieu-Daudé wrote: Hi, On 27/5/24 10:02, Jamin Lin wrote: AST2700 fmc/spi controller's address decoding unit is 64KB and only bits [31:16] are used for decoding. Introduce seg_to_reg and reg_to_seg handlers for ast2700 fmc/spi controller. In addition, adds ast2700 f