[U-Boot] [PATCH v4 0/5] of-platdata: Avoid building libfdt
Simon Glass
sjg at chromium.org
Thu Nov 7 15:53:07 UTC 2019
The original patch of this series was sent in September but unfortunately
caused build problems on some boards, since they don't comply with the
of-platdata rules.
With of-platdata, the idea is to compile the device tree into C structures
to save space and avoid needing to use libfdt. But some boards use
of-platdata while also using libfdt in a few areas, thus defeating the
purpose of of-platdata.
This series includes the original two patches
http://patchwork.ozlabs.org/patch/1167420/
http://patchwork.ozlabs.org/patch/1167367/
as well as a few other patches to fix the build errors. Overall this
reduces code size and provides better error messages when unavailable
functions are used.
Board maintainers should still take a look at the result, adjusting the
of-platdata support as needed.
Changes in v4:
- Add new patch for rockchip build errors
- Add new patch for omap MMC build errors
- Add new patch for rockchip chromebook build errors
- Pull out patches into a new series
- Add new patches to handle build failures
Changes in v3:
- Fix eth_dev_get_mac_address() call dev_read...() only when available
Simon Glass (5):
rockchip: Avoid using libfdt with of-platdata
omap: mmc: Avoid using libfdt with of-platdata
rockchip: pinctrl: Disable full pinctrl for SPL
dm: core: Don't include ofnode functions with of-platdata
spl: Allow SPL/TPL to use of-platdata without libfdt
configs/chromebit_mickey_defconfig | 1 +
configs/chromebook_jerry_defconfig | 1 +
configs/chromebook_minnie_defconfig | 1 +
configs/chromebook_speedy_defconfig | 1 +
drivers/clk/rockchip/clk_rk3328.c | 14 ++++++++++++--
drivers/core/Makefile | 4 +++-
drivers/mmc/davinci_mmc.c | 6 ++++++
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c | 6 ++++--
include/dm/read.h | 3 +--
lib/Kconfig | 4 ++--
net/eth-uclass.c | 2 +-
11 files changed, 33 insertions(+), 10 deletions(-)
--
2.24.0.rc1.363.gb1bccd3e3d-goog
More information about the U-Boot
mailing list