
7 Feb
2022
7 Feb
'22
9:22 p.m.
Hi Eddie,
On Mon, 7 Feb 2022 at 07:23, Eddie James eajames@linux.ibm.com wrote:
Use the CONFIG macros to conditionally build the GPIO hogging support in either the SPL or U-Boot, or both, depending on the configuration. Also call the GPIO hog probe function in the common SPL board initialization as an equivalent to adding it to the U-Boot init sequence functions.
Signed-off-by: Eddie James eajames@linux.ibm.com
common/spl/spl.c | 4 ++++ drivers/gpio/Kconfig | 10 ++++++++++ drivers/gpio/gpio-uclass.c | 10 ++++++---- 3 files changed, 20 insertions(+), 4 deletions(-)
Please add a change log. Also it seems to be using #if which is best avoided if possible.
Regards, SImon