Home
last modified time | relevance | path

Searched hist:"0 d92745e101b95a19c34dd6e2d1eccc2d9fcb629" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/include/drivers/rpi3/gpio/
H A Drpi3_gpio.h0d92745e101b95a19c34dd6e2d1eccc2d9fcb629 Wed Mar 11 16:10:40 UTC 2020 Andre Przywara <andre.przywara@arm.com> rpi3: gpio: Simplify GPIO setup

There is really no reason to use and pass around a struct when its only
member is the (fixed) base address.

Remove the struct and just use the base address on its own inside the
GPIO driver. Then set the base address automatically.

This simplifies GPIO setup for users, which now don't need to deal with
zeroing a struct and setting the base address anymore.

Change-Id: I3060f7859e3f8ef9a24cc8fb38307b5da943f127
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/drivers/rpi3/gpio/
H A Drpi3_gpio.c0d92745e101b95a19c34dd6e2d1eccc2d9fcb629 Wed Mar 11 16:10:40 UTC 2020 Andre Przywara <andre.przywara@arm.com> rpi3: gpio: Simplify GPIO setup

There is really no reason to use and pass around a struct when its only
member is the (fixed) base address.

Remove the struct and just use the base address on its own inside the
GPIO driver. Then set the base address automatically.

This simplifies GPIO setup for users, which now don't need to deal with
zeroing a struct and setting the base address anymore.

Change-Id: I3060f7859e3f8ef9a24cc8fb38307b5da943f127
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/plat/rpi/rpi3/
H A Drpi3_bl2_setup.c0d92745e101b95a19c34dd6e2d1eccc2d9fcb629 Wed Mar 11 16:10:40 UTC 2020 Andre Przywara <andre.przywara@arm.com> rpi3: gpio: Simplify GPIO setup

There is really no reason to use and pass around a struct when its only
member is the (fixed) base address.

Remove the struct and just use the base address on its own inside the
GPIO driver. Then set the base address automatically.

This simplifies GPIO setup for users, which now don't need to deal with
zeroing a struct and setting the base address anymore.

Change-Id: I3060f7859e3f8ef9a24cc8fb38307b5da943f127
Signed-off-by: Andre Przywara <andre.przywara@arm.com>