[PATCH v2 0/2] Add support to fetch baudrate from dtb

Venkatesh Yadav Abbarapu venkatesh.abbarapu at amd.com
Mon Apr 17 06:28:31 CEST 2023


From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>

In this patch series
-Fetch baudrate from the dtb and update
-Add CONFIG_DEFAULT_ENV_IS_RW config for armada boards


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):
  configs: Add CONFIG_DEFAULT_ENV_IS_RW config for armada
  serial: zynqmp: Fetch baudrate from dtb and update

 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/configs/xilinx_zynqmp.h             |  3 +-
 include/env_default.h                       |  7 +++-
 include/env_internal.h                      |  2 +-
 include/fdtdec.h                            |  8 +++++
 include/serial.h                            |  1 +
 lib/fdtdec.c                                | 40 +++++++++++++++++++++
 12 files changed, 109 insertions(+), 4 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list