[PATCH v3 0/2] Add support to fetch baudrate from dtb
Venkatesh Yadav Abbarapu
venkatesh.abbarapu at amd.com
Tue Apr 25 14:04:57 CEST 2023
From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
In this patch series
- Fetch baudrate from the dtb and update
- Add support in Kconfig and convert for armada boards
Changes in v3:
- Moved filler changes from zynqmp.h to generic file env_default.h
- Removed ENV_RW_FILLER and added padding in the generic file env_default.h.
- Print baudrate parameter properly when SERIAL_DT is enabled.
- Add SERIAL_DT_BAUD to Kconfig
- Moved DEFAULT_ENV_IS_RW to Kconfig also updated armada files
Changes in v2:
- Changed to #ifdef from #if CONFIG_IS_ENABLED to enable patching in
spl.
- Added SPL_ENV_SUPPORT dependency in SERIAL_DT_BAUD to allow SPL
compilation.
- Moved DEFAULT_ENV_IS_RW to Kconfig also updated armada files
- Moved ENV_RW_FILLER to generic file env_default.h.
- Increased the ENV_RW_FILLER padding to support 8000000 baud.
Algapally Santosh Sagar (2):
serial: zynqmp: Fetch baudrate from dtb and update
configs: Add support in Kconfig and convert for armada boards
configs/mvebu_db-88f3720_defconfig | 1 +
configs/mvebu_espressobin-88f3720_defconfig | 1 +
configs/mvebu_mcbin-88f8040_defconfig | 1 +
drivers/serial/Kconfig | 16 +++++++++
drivers/serial/serial-uclass.c | 32 +++++++++++++++++
include/configs/mvebu_armada-37xx.h | 1 -
include/env_default.h | 7 ++--
include/env_internal.h | 2 +-
include/fdtdec.h | 8 +++++
include/serial.h | 1 +
lib/fdtdec.c | 40 +++++++++++++++++++++
11 files changed, 106 insertions(+), 4 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list