On Thu, Mar 9, 2023 at 6:05 AM KIKUCHI Takeyoshi <kiku...@centurysys.co.jp> wrote:
> Hi, All. > > The code to parse block device partitions is included (as well as the > code to register partitions as devices), but it seems that the process > to parse partitions is not called from the location where the block > device is registered. > (There is a function called "register_blockpartition", but it is not > called from anywhere.) > > Is there an intentional reason for not parsing partitions? It's because some devices hardcode the partition layout in code. So, the board file will call parse_block_partition after creating the block device and finish the initialization in the original design. > Would it be a > problem to add an automatic partition parsing process call? > > It could be added a new function to simplify the common usage. KIKUCHI Takeyoshi > > --- > kiku...@centurysys.co.jp >