All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] of-platdata: Avoid building libfdt
@ 2020-04-27  1:24 Simon Glass
  2020-04-27  1:24 ` [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata Simon Glass
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Simon Glass @ 2020-04-27  1:24 UTC (permalink / raw)
  To: u-boot

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 v5:
- Drop one rockchip patch as that issue has been fixed

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 (4):
  omap: mmc: Avoid using libfdt with of-platdata
  rockchip: pinctrl: Disable full pinctrl for SPL
  spl: Allow SPL/TPL to use of-platdata without libfdt
  dm: core: Don't include ofnode functions with of-platdata

 configs/chromebit_mickey_defconfig  | 1 +
 configs/chromebook_jerry_defconfig  | 1 +
 configs/chromebook_minnie_defconfig | 1 +
 configs/chromebook_speedy_defconfig | 1 +
 drivers/core/Makefile               | 4 +++-
 drivers/mmc/davinci_mmc.c           | 6 ++++++
 include/dm/read.h                   | 3 +--
 lib/Kconfig                         | 4 ++--
 net/eth-uclass.c                    | 2 +-
 9 files changed, 17 insertions(+), 6 deletions(-)

-- 
2.26.2.303.gf8c07b1a785-goog

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-05-14 17:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  1:24 [PATCH v5 0/4] of-platdata: Avoid building libfdt Simon Glass
2020-04-27  1:24 ` [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata Simon Glass
2020-04-27  5:33   ` Peng Fan
2020-04-27 18:59     ` Tom Rini
2020-04-28  4:17       ` Lokesh Vutla
2020-04-28  7:00         ` Faiz Abbas
2020-04-30 11:43           ` Bartosz Golaszewski
2020-05-01 18:32             ` Tom Rini
2020-05-04  7:10               ` Bartosz Golaszewski
2020-05-04 13:14                 ` Simon Glass
2020-05-05  6:50                   ` Faiz Abbas
2020-05-05 16:17                     ` Bartosz Golaszewski
2020-05-14  8:19                     ` Faiz Abbas
2020-05-14 14:59                       ` Tom Rini
2020-05-14 15:25                         ` Faiz Abbas
2020-05-14 15:45                           ` Tom Rini
2020-05-14 17:23                           ` Simon Glass
2020-05-14 16:01                       ` Simon Glass
2020-04-27  1:24 ` [PATCH v5 2/4] rockchip: pinctrl: Disable full pinctrl for SPL Simon Glass
2020-04-28 14:21   ` Kever Yang
2020-04-27  1:24 ` [PATCH v5 3/4] spl: Allow SPL/TPL to use of-platdata without libfdt Simon Glass
2020-04-27  1:24 ` [PATCH v5 4/4] dm: core: Don't include ofnode functions with of-platdata Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.