Skip to contentSkip to conversation

Please pull branch fdt-cmd from u-boot-fdt.git

U-Boot-Users Jerry Van Baren 1 participant 1 message Mar 31, 2007

lore
Share & tools
lore
#0 lore raw

Hi Wolfgang,

Please pull from the "fdt-cmd" branch at
git://cideas.us/pub/scm/u-boot/u-boot-fdt.git fdt-cmd
or
git://denx.de/git/u-boot-fdt.git fdt-cmd

I've pushed my fdt commands and libfdt addition to the u-boot-fdt custodian repository (hopfully correctly). Due to the size of the "libfdt: Import libfdt source." and "Add a flattened device tree (fdt) command" changes, I canot send the raw patches to the u-boot list. If anybody wants them sent to the list, I can gzip them and send them as attachments.

This change is only the starting point. :-) I've only done the
mpc8360/mpc8360emds board. Some fairly small changes need to be done to the other mpc8xxx family CPU and board subdirectories to allow them to use the libfdt/fdt command. To see what needs adapting, see:

  cpu/mpc83xx/cpu.c               |  102 +++++-
  board/mpc8360emds/pci.c         |   20 +

Note that I've created a new CONFIG_OF_LIBFDT that is intended to ultimately supplant CONFIG_OF_FLAT_TREE. Use one or the other: new way CONFIG_OF_LIBFDT or old way CONFIG_OF_FLAT_TREE. Obviously, the only way to get the new fdt command is to use CONFIG_OF_LIBFDT.

Best regards,
gvb

The following changes since commit 82038d862a487ede9d5b1ecd29c25d632e61cd99:
Gerald Van Baren (1):
libfdt: Import libfdt source.

are found in the git repository at:

git://denx.de/git/u-boot-fdt.git
or:
git://cideas.us/pub/scm/u-boot/u-boot-fdt.git

Gerald Van Baren (5):
libfdt: Customizations for use by u-boot.
libfdt: Add fdt_next_tag() and comments. Add a flattened device tree (fdt) command Fix the inadvertant multiple definition of libfdt.a
libfdt: private _fdt_next_tag() is redundant.

  README                          |   33 ++-
  board/mpc8360emds/config.mk     |    6 +
  board/mpc8360emds/mpc8360emds.c |   30 ++-
  board/mpc8360emds/pci.c         |   20 +
  common/Makefile                 |    2 +-
  common/cmd_bootm.c              |   65 +++-
  common/cmd_fdt.c                |  874 
+++++++++++++++++++++++++++++++++++++++
  cpu/mpc83xx/cpu.c               |  102 +++++-
  include/configs/MPC8360EMDS.h   |    6 +-
  include/fdt.h                   |   60 +++
  include/libfdt.h                |  138 ++++++
  include/libfdt_env.h            |   16 +
  libfdt/Makefile                 |  111 ++----
  libfdt/fdt.c                    |   39 --
  libfdt/fdt.h                    |   60 ---
  libfdt/fdt_ro.c                 |  116 +++++-
  libfdt/fdt_rw.c                 |    6 +-
  libfdt/fdt_sw.c                 |    2 +-
  libfdt/fdt_wip.c                |    4 +-
  libfdt/libfdt.h                 |  135 ------
  libfdt/libfdt_env.h             |   22 -
  libfdt/libfdt_internal.h        |    1 -
  22 files changed, 1476 insertions(+), 372 deletions(-)

create mode 100644 common/cmd_fdt.c
create mode 100644 include/fdt.h
create mode 100644 include/libfdt.h
create mode 100644 include/libfdt_env.h
delete mode 100644 libfdt/fdt.h
delete mode 100644 libfdt/libfdt.h
delete mode 100644 libfdt/libfdt_env.h