From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=ad7pV2a2; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by groups.io with SMTP; Mon, 29 Apr 2019 01:52:11 -0700 Received: by mail-wm1-f65.google.com with SMTP id w15so14511749wmc.3 for ; Mon, 29 Apr 2019 01:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YAAvAS1ZRSnzANGMPTcQLwCeNSO9zeuPAHSP5c5kguE=; b=ad7pV2a2px5ibZOdf6Ig9TuiSIGv7x2tGPzSM5jhdu3Wv/BszwslN/yzB/G+pSs1aE DWTDWuYt4U5+YZGqo1ddzgH1bPjaIaYwvOnBrg138eTqIwg+nt7lOOn/bSuPYyMnyGlr eGc8JFv6xo8CZ+/cHESt0FQY8wK7F7lsvgibvEWFvVV2oUF4lMBVXK4DiXZY8KDeFK1T A20CyJk2NSEcyKxgW4FBz/CaBuzZ6xKTe9XLPkgG01vdy9WG3kErNZf8oa8L0F0FsK0w hTMgOT4377jeukKjvgDu1P2KvT88ZB2Vpe8BquYYhncLSBfK18/p3j8RLQb+FbQeTetZ G+sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YAAvAS1ZRSnzANGMPTcQLwCeNSO9zeuPAHSP5c5kguE=; b=smal6MZda8ZTaRoIf0pDJAI4IRkn5eEz3yOK+kHwXl5SsPVa9t4n9TEm+TJxfOymBA ZpgdC6vCAguiAnkMcS+AQ79Lf3+xsjNgSSI4QeHpLKI0nayuH8y5jsdit4CFj0/+kGlN YnggBGFWkgcdTaCEQnFQV1UVj5umVYe10c7Iy+YkZJE7EPJZhCpNaI/g2xr+ZilXM+VW I839bGSuS6VT3kZGkKFhn/YG/7sS5l1scRo3IZBw0+fxj9F9BlsM7r5ci7bfI9LrxVuO ha8URFszsj7ACs59gD5WAMyo0Enx1EYFU1bYf1fVSDUzgaA/buJl+89UOgp7AYNO+PkS b0dQ== X-Gm-Message-State: APjAAAW2rvdpP8Zgbz8vxbZFDkrRpuQE4FZrXAcWpSOo6iFd+lIKRFzx S64gbFS0e8TOANjSFkeZmznPSA== X-Google-Smtp-Source: APXvYqxBeXJRHfOAVsxiLoHfQLp0NQqVHN11BY0IXZVPLiH2vnrjW8bCA5zOAnmPXYvwCTd66fhwfg== X-Received: by 2002:a1c:a406:: with SMTP id n6mr15211172wme.126.1556527930141; Mon, 29 Apr 2019 01:52:10 -0700 (PDT) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id t76sm43825544wmt.8.2019.04.29.01.52.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 01:52:09 -0700 (PDT) Date: Mon, 29 Apr 2019 09:52:08 +0100 From: "Leif Lindholm" To: Ard Biesheuvel Cc: edk2-devel-groups-io , Jagadeesh Ujja , Thomas Panakamattam Abraham Subject: Re: [edk2-devel] [edk2] [PATCH v2 edk2-platforms] Platform/ARM/Drivers: Add Nor Flash Driver Message-ID: <20190429085207.tmt3wr36vepu7d5p@bivouac.eciton.net> References: <1554210602-2957-1-git-send-email-jagadeesh.ujja@arm.com> <20190429075816.y4gyeyqt4kp7lffk@bivouac.eciton.net> MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 29, 2019 at 10:17:17AM +0200, Ard Biesheuvel wrote: > > I mean, the actually relevant bit is basically > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/mtd/afs.c, > > isn't it? > > > > +Thomas. > > AIUI, these things are entirely separate. Exposing NOR flash via block > I/O and disk I/O permits the standard partition driver and FAT > filesystem driver to bind to it, so that you can have a standard FAT > ESP on NOR flash. I don't this is related at all to the BootMonFs > stuff If so, that's even sillier. If it has any business remaining supported, that should be a separate driver consuming NorFlashDxe. And if ARM feels their platforms need it, they can write that driver. So how about we don't move it and just nuke the BlockIo/DiskIo bits? / Leif