Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1l2qIQ-0003xu-Ie for mharc-grub-devel@gnu.org; Fri, 22 Jan 2021 01:51:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2qIO-0003xj-U1 for grub-devel@gnu.org; Fri, 22 Jan 2021 01:51:48 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:53853 helo=mx1.molgen.mpg.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2qIN-0008MU-1m for grub-devel@gnu.org; Fri, 22 Jan 2021 01:51:48 -0500 Received: from [192.168.0.6] (ip5f5aed2b.dynamic.kabel-deutschland.de [95.90.237.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id D335A20647923; Fri, 22 Jan 2021 07:51:33 +0100 (CET) Subject: Re: [RFC] efi spi flash support - where to place To: Michael Lawnick References: <2d4eb2cf-bdef-930e-f87a-689c16127390@gmx.de> Cc: grub-devel@gnu.org From: Paul Menzel Message-ID: <280c9985-2be9-df27-c58c-e1d32fe82f0e@molgen.mpg.de> Date: Fri, 22 Jan 2021 07:51:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <2d4eb2cf-bdef-930e-f87a-689c16127390@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=141.14.17.11; envelope-from=pmenzel@molgen.mpg.de; helo=mx1.molgen.mpg.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 06:51:49 -0000 Dear Michael, Am 19.01.21 um 11:38 schrieb Michael Lawnick: > first of all, I am new to this group/grub. So please be patient if I > violate some group internal rules, just point it out. > Formerly I worked many years on U-Boot. Welcome to GRUB, and no worries. Plain text emails, and polite. What more can we wish for. ;-) > I have made a driver and command line tool for accessing SPI NOR flash > via EFI interface which I would like to upstream. Very nice. > Q: where to place the efi driver, where to place the command line handler. > > Currently I'd say > - create grub-core/flash/efispinor.c for the driver I guess, that would be fine, but I found, `grub-core/bus/spi/rk3288_spi.c`, so I suggest to place it there. > - create grub-core/commands/efi/efispinor.c for the command line tool. Can you please elaborate on the usage? Couldn’t it be some generic tool, and it doesn’t matter, what interface in the background? […] I am looking forward to this patch. I have no idea, if it will get into the next release. But as it’s a new driver and command not affecting existing stuff, an exception could be made. Kind regards, Paul