From: Denis Zalevskiy
Use standard configuration logic to define EEPROM constants. Names are based on
VPD_EEPROM_ prefix because EEPROM_ is already used by i2c_eeprom driver.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge
From: Denis Zalevskiy
Bootcount driver should verify size against the maximum available space. New
configuration parameter adds this capability and keeps backward compatibility by
providing default value.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
drivers/bootcount
where VPD is stored.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/common/vpd_reader.c | 20
configs/ge_bx50v3_defconfig | 18 ++
configs/mx53ppd_defconfig| 19 +++
include/configs/ge_bx50v3.h | 6
-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 48 +---
board/ge/common/vpd_reader.c | 37 ---
board/ge/common/vpd_reader.h | 16
board/ge/mx53ppd/mx53ppd.c | 44 +++--
4 files changed
From: Denis Zalevskiy
The bus is statically defined, so remove redundant parameters from read_vpd()
for PPD and Bx50v3.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 6 +++---
board/ge/mx53ppd/mx53ppd.c | 6 +++---
2 files changed, 6
From: Denis Zalevskiy
If there is an I2C mux, current bus should be switched before manipulating with
I2C.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 15 ++-
drivers/bootcount/bootcount_i2c.c | 70
Writing to ext4 from U-Boot is dangerous in case of inconsistent filesystem
state (i.e. due to power-loss). The current U-Boot code can modify the
filesystem,
so that it is no longer usable by Linux after fsck. This patchset avoids writing
to the partition on GE devices by moving the boot counter
From: Nandor Han <nandor@ge.com>
Add a new driver for RX8010SJ rtc chip. The driver implements both
formats of U-Boot driver model.
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reich
From: Nandor Han <nandor@ge.com>
Validate the time at startup:
- in case rtc error add to kernel command line RTC_ERROR
- clamp date to 1-Jan-2036
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by:
From: Ian Ray <ian@ge.com>
Enable bootcount using an EXT file.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
include/configs/ge_bx50v3.h | 8
alling the register
and, especially, the eeprom version directly in order to specify where
to read the address from.
Signed-off-by: Hannu Lounento <hannu.loune...@ge.com>
CC: Joe Hershberger <joe.hershber...@ni.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-o
unento <hannu.loune...@ge.com>
CC: Joe Hershberger <joe.hershber...@ni.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
drivers/net/e1000.c | 40
1 file c
: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c| 2 +-
include/configs/ge_bx50v3.h | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/ge/bx50v3/bx50v3.c b/boar
>
CC: Joe Hershberger <joe.hershber...@ni.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Reviewed-by: Stefano Babic <sba...@denx.de>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabor
From: Ian Ray <ian@ge.com>
Modify b450v3, b650v3 and b850v3 defconfigs to enable the network devices
found in these products.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.re
h <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c| 12 +++
configs/ge_b450v3_defconfig | 1 +
configs/ge_b650v3_defconfig | 1 +
configs/ge_b850v3_defconfig | 1 +
include/
;
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c| 1 +
include/configs/ge_bx50v3.h | 4
2 files changed, 5 insertions(+)
diff --git a/board/ge/bx50v3/bx50v3.c b/board/
a.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
include/configs/ge_bx50v3.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index efea303393a0..e006485dc659 100644
--- a/include/c
..@ge.com>
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c| 79 ++---
include/configs/ge_bx5
This series improves the support on the bx50v3 devices (b540v3, b650v3
and b850v3). Changes outside of the bx50v3 specific areas:
- Added driver for RX8010SJ RTC.
- Added functionality to e1000 driver to enable wrting of EEPROM/MAC
address.
Changes since PATCHv1:
* Rebased to v2018.01
*
From: Ian Ray <ian@ge.com>
Read boot script from shared partition, if available.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
include/
n Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50
ogging by default.
Print a message to VGA screen in case of boot failure and reset bootcount
to allow the user to attempt boot again.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.re
From: Nandor Han <nandor@ge.com>
This fixes environment variable location to avoid overlapping with
U-Boot itself. Also more space for environment variables has been
reserved to prevent future issues.
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebas
kernel.
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
arch/arm/mach-imx/mx5/lowlevel_init.S | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/mx5/lowlevel_init.S
b/arch/arm/mach-imx/mx5/lowlevel_init.S
index f5bc6728b7c2..ee4c3afd2fed 100644
--
From: Denis Zalevskiy
If there is an I2C mux, current bus should be switched before manipulating with
I2C.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 15 ++-
drivers/bootcount/bootcount_i2c.c | 70
-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 48 +---
board/ge/common/vpd_reader.c | 37 ---
board/ge/common/vpd_reader.h | 16
board/ge/mx53ppd/mx53ppd.c | 44 +++--
4 files changed
From: Denis Zalevskiy
Use standard configuration logic to define EEPROM constants. Names are based on
VPD_EEPROM_ prefix because EEPROM_ is already used by i2c_eeprom driver.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge
From: Denis Zalevskiy
Bootcount driver should verify size against the maximum available space. New
configuration parameter adds this capability and keeps backward compatibility by
providing default value.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
drivers/bootcount
where VPD is stored.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/common/vpd_reader.c | 20
configs/ge_bx50v3_defconfig | 18 ++
configs/mx53ppd_defconfig| 19 +++
include/configs/ge_bx50v3.h | 6
From: Denis Zalevskiy
The bus is statically defined, so remove redundant parameters from read_vpd()
for PPD and Bx50v3.
Signed-off-by: Denis Zalevskiy
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 6 +++---
board/ge/mx53ppd/mx53ppd.c | 6 +++---
2 files changed, 6
Writing to ext4 from U-Boot is dangerous in case of inconsistent filesystem
state (i.e. due to power-loss). The current U-Boot code can modify the
filesystem,
so that it is no longer usable by Linux after fsck. This patchset avoids writing
to the partition on GE devices by moving the boot counter
Hi Tom,
On Thu, Jul 19, 2018 at 04:31:01PM -0400, Tom Rini wrote:
> On Tue, Jun 26, 2018 at 07:43:00PM +0200, Sebastian Reichel wrote:
>
> > From: Denis Zalevskiy
> >
> > Use standard configuration logic to define EEPROM constants. Names are
> > based on
> >
From: Ian Ray <ian@ge.com>
Enable display backlight only if a message needs to be displayed.
The kernel re-initializes the backlight, which results in some
unwanted artifacts.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@
From: Ian Ray <ian@ge.com>
Enable display backlight only if a message needs to be displayed.
The kernel re-initializes the backlight, which results in some
unwanted artifacts.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@
From: Ian Ray <ian@ge.com>
Add winbond SPI NOR support, which is being used by newer hardware.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
configs/ge_b450v3_defconfig | 1 +
configs/ge_b650v3_defcon
CONFIG_ENV_IS_IN_MMC must be declared in defconfig to properly
support "env save".
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
configs/mx53ppd_defconfig | 1 +
include/configs/mx53ppd.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff
From: Ian Ray <ian@ge.com>
This replaces TARGET_GE_B{4,6,8}50V3 with common TARGET_GE_BX50V3.
The boards are identified automatically at runtime.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reich
From: Ian Ray <ian@ge.com>
Configure video arguments at run-time instead of at compile-time.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/g
From: Ian Ray <ian@ge.com>
Enable Video PLL to fix non-working display support for Bx50v3
internal displays.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
From: Nandor Han <nandor@ge.com>
Simplify process_vpd() by unifying the switch statements handling
product specific configurations.
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx
From: Ian Ray <ian@ge.com>
The detect_baseboard() function actually determines whether there is an
internal LCD panel or not. Rename for clarity.
Signed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reich
Hi,
This merges B{468}50v3 into a BX50V3 target, that works for all
three machines. The different boards are detected at runtime.
-- Sebastian
Ian Ray (5):
board: ge: bx50v3: rename detect_baseboard function
board: ge: bx50v3: fix display support for b{46}50v3
board: ge: bx50v3: use VPD
ed-off-by: Ian Ray <ian@ge.com>
Signed-off-by: Nandor Han <nandor@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/board/ge/bx50v3/bx
m>
Signed-off-by: Sebastian Reichel <sebastian.reic...@collabora.co.uk>
---
board/ge/bx50v3/bx50v3.c | 36 +---
1 file changed, 29 insertions(+), 7 deletions(-)
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c
index 3c8689682141..c
Fix compiler warning due to incorrect vpd_callback function
signature.
Signed-off-by: Sebastian Reichel
---
board/ge/mx53ppd/mx53ppd.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/board/ge/mx53ppd/mx53ppd.c b/board/ge/mx53ppd/mx53ppd.c
index f0c8abf0bb4d
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 10 +++
drivers/bootcount/Makefile| 1 +
drivers/bootcount/spi-flash.c | 125 ++
3 files
This takes care of resetting the 32kHz square wave, which is
used by some boards as clock source for the SoC.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 89 +---
1 file changed, 83 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc
The file only contains RTC related code, so let's name
it accordingly.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/Makefile | 2 +-
board/ge/common/{ge_common.c => ge_rtc.c} | 0
board/ge/common/{ge_common.h => ge
as 'ge_b1x5v2_defconfig' and the
combined image u-boot-with-spi.imx can be flashed directly to 1024
byte offset to /dev/mtdblock0. Alternatively SPL and u-boot.imx can
be loaded separately via USB-OTG using e.g. imx_usb.
Signed-off-by: Sebastian Reichel
---
arch/arm/dts/Makefile | 1 +
arch/arm
This separates the I2C specific code from the generic
GE vital product data code, so that the generic parts
can be used on hardware with VPD stored in SPI flash
memory.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/vpd_reader.c | 12
While this code is being used by all GE platforms its useful
to have it behind a config option for hardware bringup of
new platforms.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge/common/Kconfig | 7 +++
board/ge/common/Makefile | 3 ++-
board/ge/mx53ppd
Add GPIO poweroff driver, which is based on the Linux
driver and uses the same DT binding.
Reviewed-by: Simon Glass
Signed-off-by: Sebastian Reichel
---
drivers/sysreset/Kconfig | 7 +++
drivers/sysreset/Makefile| 1 +
drivers/sysreset/poweroff_gpio.c | 92
the meantime
* poweroff-gpio support is now added using sysreset uclass
instead of introducing a new poweroff uclass
* B1x5v2 patch has been updated to follow recent U-Boot
changes and to add USB mass storage support
[0] http://patchwork.ozlabs.org/project/uboot/list/?series=196979
-- Sebastia
In case of empty battery or glitches the oscillator fail
bit might be set. This will reset the bit in the reset
routine.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 50
1 file changed, 50 insertions(+)
diff --git a/drivers/rtc/m41t62
Allow using disable_ldb_di_clock_sources with just the combined
CONFIG_MX6QDL being enabled.
Signed-off-by: Sebastian Reichel
---
arch/arm/mach-imx/mx6/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 10 +++
drivers/bootcount/Makefile| 1 +
drivers/bootcount/spi-flash.c | 125 ++
3 files
oweroff uclass
* B1x5v2 patch has been updated to follow recent U-Boot
changes and to add USB mass storage support
[0] http://patchwork.ozlabs.org/project/uboot/list/?series=187150
[1] http://patchwork.ozlabs.org/project/uboot/list/?series=195398
-- Sebastian
Sebastian Reichel (10):
bootco
Add GPIO poweroff driver, which is based on the Linux
driver and uses the same DT binding.
Reviewed-by: Simon Glass
Signed-off-by: Sebastian Reichel
---
drivers/sysreset/Kconfig | 7 +++
drivers/sysreset/Makefile| 1 +
drivers/sysreset/poweroff_gpio.c | 92
In case of empty battery or glitches the oscillator fail
bit might be set. This will reset the bit in the reset
routine.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 50
1 file changed, 50 insertions(+)
diff --git a/drivers/rtc/m41t62
This takes care of resetting the 32kHz square wave, which is
used by some boards as clock source for the SoC.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 89 +---
1 file changed, 83 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc
This is supported by the hardware when the pinmux is configured
correctly. Usually it is not, so this adds explicit code for this.
This fixes all GPIO regulators being shown as disabled.
Signed-off-by: Sebastian Reichel
---
drivers/gpio/mxc_gpio.c | 10 +-
1 file changed, 9 insertions
as 'ge_b1x5v2_defconfig' and the
combined image u-boot-with-spi.imx can be flashed directly to 1024
byte offset to /dev/mtdblock0. Alternatively SPL and u-boot.imx can
be loaded separately via USB-OTG using e.g. imx_usb.
Signed-off-by: Sebastian Reichel
---
arch/arm/dts/Makefile | 1 +
arch/arm
This separates the I2C specific code from the generic
GE vital product data code, so that the generic parts
can be used on hardware with VPD stored in SPI flash
memory.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/vpd_reader.c | 12
While this code is being used by all GE platforms its useful
to have it behind a config option for hardware bringup of
new platforms.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge/common/Kconfig | 7 +++
board/ge/common/Makefile | 3 ++-
board/ge/mx53ppd
The file only contains RTC related code, so let's name
it accordingly.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/Makefile | 2 +-
board/ge/common/{ge_common.c => ge_rtc.c} | 0
board/ge/common/{ge_common.h => ge
Allow using disable_ldb_di_clock_sources with just the combined
CONFIG_MX6QDL being enabled.
Signed-off-by: Sebastian Reichel
---
arch/arm/mach-imx/mx6/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index
This is supported by the hardware when the pinmux is configured
correctly. Usually it is not, so this adds explicit code for this.
This fixes all GPIO regulators being shown as disabled.
Signed-off-by: Sebastian Reichel
---
drivers/gpio/mxc_gpio.c | 10 +-
1 file changed, 9 insertions
as 'ge_b1x5v2_defconfig' and the
combined image u-boot-with-spi.imx can be flashed directly to 1024
byte offset to /dev/mtdblock0. Alternatively SPL and u-boot.imx can
be loaded separately via USB-OTG using e.g. imx_usb.
Signed-off-by: Sebastian Reichel
---
arch/arm/dts/Makefile | 1 +
arch/arm
Allow using disable_ldb_di_clock_sources with just the combined
CONFIG_MX6QDL being enabled.
Signed-off-by: Sebastian Reichel
---
arch/arm/mach-imx/mx6/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index
Add GPIO poweroff driver, which is based on the Linux
driver and uses the same DT binding.
Signed-off-by: Sebastian Reichel
---
drivers/sysreset/Kconfig | 6 +++
drivers/sysreset/Makefile| 1 +
drivers/sysreset/poweroff_gpio.c | 84
3 files
This takes care of resetting the 32kHz square wave, which is
used by some boards as clock source for the SoC.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 89 +---
1 file changed, 83 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc
This separates the I2C specific code from the generic
GE vital product data code, so that the generic parts
can be used on hardware with VPD stored in SPI flash
memory.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/vpd_reader.c | 12
While this code is being used by all GE platforms its useful
to have it behind a config option for hardware bringup of
new platforms.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge/common/Kconfig | 7 +++
board/ge/common/Makefile | 3 ++-
board/ge/mx53ppd
The file only contains RTC related code, so let's name
it accordingly.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/Makefile | 2 +-
board/ge/common/{ge_common.c => ge_rtc.c} | 0
board/ge/common/{ge_common.h => ge
-- Sebastian
Sebastian Reichel (10):
bootcount: add a DM SPI flash backing store for bootcount
gpio: mxc_gpio: add support to read status of output gpios
rtc: m41t62: reset SQW in m41t62_rtc_reset
rtc: m41t62: add oscillator fail bit reset support
imx6: allow usage of disable_ldb_di_clock_sources
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 10 +++
drivers/bootcount/Makefile| 1 +
drivers/bootcount/spi-flash.c | 125 ++
3 files
In case of empty battery or glitches the oscillator fail
bit might be set. This will reset the bit in the reset
routine.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 50
1 file changed, 50 insertions(+)
diff --git a/drivers/rtc/m41t62
This separates the I2C specific code from the generic
GE vital product data code, so that the generic parts
can be used on hardware with VPD stored in SPI flash
memory.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/vpd_reader.c | 12
While this code is being used by all GE platforms its useful
to have it behind a config option for hardware bringup of
new platforms.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/Kconfig | 2 ++
board/ge/common/Kconfig | 7 +++
board/ge/common/Makefile | 3 ++-
board/ge/mx53ppd
with
CONFIG_IS_ENABLED(DM_SPI_FLASH)
Sebastian Reichel (11):
bootcount: add a DM SPI flash backing store for bootcount
gpio: mxc_gpio: add support to read status of output gpios
rtc: m41t62: reset SQW in m41t62_rtc_reset
rtc: m41t62: add oscillator fail bit reset support
imx6: allow usage
as 'ge_b1x5v2_defconfig' and the
combined image u-boot-with-spi.imx can be flashed directly to 1024
byte offset to /dev/mtdblock0. Alternatively SPL and u-boot.imx can
be loaded separately via USB-OTG using e.g. imx_usb.
Signed-off-by: Sebastian Reichel
---
arch/arm/dts/Makefile | 1 +
arch/arm
This adds infrastructure for DM based poweroff drivers
including a generic poweroff command, that is exposed via
existing CONFIG_CMD_POWEROFF and uses the first registered
poweroff driver.
Signed-off-by: Sebastian Reichel
---
drivers/power/Kconfig | 9 +++
drivers/power/Makefile
From: Marek Vasut
Perform the replacement to allow platforms use non-DM SPI flash access
in SPL/TPL. This is thus far needed on platforms with size constraints.
Signed-off-by: Marek Vasut
Signed-off-by: Sebastian Reichel
---
cmd/sf.c | 4 ++--
drivers/mtd/spi/sf_probe.c | 2
The file only contains RTC related code, so let's name
it accordingly.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c | 2 +-
board/ge/common/Makefile | 2 +-
board/ge/common/{ge_common.c => ge_rtc.c} | 0
board/ge/common/{ge_common.h => ge
This takes care of resetting the 32kHz square wave, which is
used by some boards as clock source for the SoC.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 89 +---
1 file changed, 83 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc
Allow using disable_ldb_di_clock_sources with just the combined
CONFIG_MX6QDL being enabled.
Signed-off-by: Sebastian Reichel
---
arch/arm/mach-imx/mx6/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c
index
This driver allows to use SPI flash as backing store for
boot counter values with DM enabled.
Signed-off-by: Sebastian Reichel
---
drivers/bootcount/Kconfig | 10 +++
drivers/bootcount/Makefile| 1 +
drivers/bootcount/spi-flash.c | 125 ++
3 files
Add GPIO poweroff driver, which is based on the Linux
driver and uses the same DT binding.
Signed-off-by: Sebastian Reichel
---
drivers/power/Kconfig | 8
drivers/power/Makefile| 1 +
drivers/power/poweroff-gpio.c | 87 +++
3 files changed
In case of empty battery or glitches the oscillator fail
bit might be set. This will reset the bit in the reset
routine.
Signed-off-by: Sebastian Reichel
---
drivers/rtc/m41t62.c | 50
1 file changed, 50 insertions(+)
diff --git a/drivers/rtc/m41t62
This is supported by the hardware when the pinmux is configured
correctly. Usually it is not, so this adds explicit code for this.
This fixes all GPIO regulators being shown as disabled.
Signed-off-by: Sebastian Reichel
---
drivers/gpio/mxc_gpio.c | 10 +-
1 file changed, 9 insertions
oard's PHY rework code.
Signed-off-by: Sebastian Reichel
---
arch/arm/dts/imx6q-ba16.dtsi | 11 +++
board/ge/bx50v3/bx50v3.c | 35 ---
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/arch/arm/dts/imx6q-ba16.dtsi b/arch/arm/dts/imx6q-ba16.
Here are some more cleanups for the GE Bx50v3 board(s):
PATCH 1+2: replace magic numbers by analyzing name string from
the fitImage config node
PATCH 3: rely on PHY driver as much as possible
-- Sebastian
Sebastian Reichel (3):
image: support board_fit_config_name_match
board
Support reusing board_fit_config_name_match() to automatically
select a sensible default configuration for booting fitImages
using 'bootm'.
Signed-off-by: Sebastian Reichel
---
common/image-fit.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/common/image-fit.c b/common/image-fit.c
Instead of hardcoding index magic numbers in the board code,
also rely on board_fit_config_name_match choosing the right
config for the fitImage containing the kernel.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c| 16 ++--
include/configs/ge_bx50v3.h | 4
Hello Simon,
On Sat, Dec 12, 2020 at 08:39:45AM -0700, Simon Glass wrote:
> > +#if !defined(USE_HOSTCC) && defined(CONFIG_MULTI_DTB_FIT)
>
> Is there a way to use 'if IS_ENABLED() 'instead? Here Perhaps we need
> a new host_build() function in a suitable header file that returns the
> value of
Instead of hardcoding index magic numbers in the board code,
also rely on board_fit_config_name_match choosing the right
config for the fitImage containing the kernel.
Signed-off-by: Sebastian Reichel
---
board/ge/bx50v3/bx50v3.c| 16 ++--
include/configs/ge_bx50v3.h | 4
: rely on PHY driver as much as possible
Changes since PATCHv1:
* introduce patch 1 & 2
* update patch 3 to avoid #if
-- Sebastian
Sebastian Reichel (5):
compiler.h: add host_build()
image: cleanup pre-processor usage
image: support board_fit_config_name_match
board: ge: bx50v3: re
Support reusing board_fit_config_name_match() to automatically
select a sensible default configuration for booting fitImages
using 'bootm'.
Signed-off-by: Sebastian Reichel
---
common/image-fit.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/common
();
This improves code readability and test coverage and
compiler will eleminate this unreachable code.
Signed-off-by: Sebastian Reichel
---
include/compiler.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/include/compiler.h b/include/compiler.h
index 90b7afae5376..27b9843497a4 100644
1 - 100 of 138 matches
Mail list logo