From: Tom Rini Date: Thu, 4 Mar 2021 13:14:22 -0500 Subject: [PATCH v4 07/16] gpio: sandbox: Use a separate flag for the value In-Reply-To: <20210205042210.2949365-8-sjg@chromium.org> References: <20210205042210.2949365-1-sjg@chromium.org> <20210205042210.2949365-8-sjg@chromium.org> Message-ID: <20210304181422.GF1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 04, 2021 at 09:22:00PM -0700, Simon Glass wrote: > At present with the sandbox GPIO driver it is not possible to change the > value of GPIOD_IS_OUT_ACTIVE unless the GPIO is an output. This makes it > hard to test changing the flags since we need to be aware of the internal > workings of the driver. > > The feature is designed to aid testing. > > Split this feature out into a separate sandbox-specific flag, so that the > flags can change unimpeded. This will make it easier to allow updating the > flags in a future patch. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: