- 11 6月, 2008 2 次提交
-
-
由 Gerald Van Baren 提交于
The working_fdt pointer was declared in common/fdt_support.c but was not used there. Move it to common/cmd_fdt.c where it is used (it is also used in lib_ppc/bootm.c). Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Kim Phillips 提交于
differentiate with local variables of the same name by renaming the global 'fdt' variable 'working_fdt'. Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 26 3月, 2008 2 次提交
-
-
由 Anton Vorontsov 提交于
Linux understands "host" (default), "peripheral" and "otg" (broken). Though, U-Boot doesn't restrict dr_mode variable to these values (think of renames in future). Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Jerry Van Baren 提交于
These defines embedded the u-boot env variables and/or the bd_t structure in the fdt blob. The conclusion of discussion on the u-boot email list was that embedding these in the fdt blob is not useful: there are better ways of passing the data (in fact, the fdt blob itself replaces the bd_t struct). The only board that enables these is the stxxtc and they don't appear to be used by linux. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com> Acked-by: NKim Phillips <kim.phillips@freescale.com>
-
- 14 2月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 12 2月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
Move the flat device tree setup for QE related devices into a common file shared between 83xx & 85xx platforms that have QE's. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 06 2月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
Move the flat device tree setup for QE related devices into a common file shared between 83xx & 85xx platforms that have QE's. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 10 1月, 2008 1 次提交
-
-
由 Timur Tabi 提交于
Define the layout of a binary blob that contains a QE firmware and instructions on how to upload it. Add function qe_upload_firmware() to parse the blob and perform the actual upload. Add command-line command "qe fw" to take a firmware blob in memory and upload it. Update ft_cpu_setup() on 85xx to create the 'firmware' device tree node if U-Boot has uploaded a firmware. Fully define 'struct rsp' in immap_qe.h to include the actual RISC Special Registers. Signed-off-by: NTimur Tabi <timur@freescale.com>
-
- 09 1月, 2008 1 次提交
-
-
由 Gerald Van Baren 提交于
Implement a suggestion by Scott Wood to make the /chosen handling fine grained. Don't overwrite pre-existing properties on a per-property basis, so if /chosen exists but a necessary /chosen/property doesn't, it gets created. If a /chosen property exists, it is NOT overwritten unless the "force" flag is true. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
- 08 12月, 2007 4 次提交
-
-
由 Gerald Van Baren 提交于
Fix compiler warnings: On boards that don't have ethernets defined, don't compile fdt_fixup_ethernet().
-
由 Kumar Gala 提交于
We use a combination of the serialN alias and CONFIG_CONS_INDEX to determine which serial alias we should set linux,stdout-path to. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Add the function fdt_fixup_memory() to fixup the /memory node of the fdt Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Modify common/Makefile to conditionally compile fdt_support.c based on CONFIG_OF_LIBFDT. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 22 11月, 2007 5 次提交
-
-
由 Kumar Gala 提交于
Added the following fdt fixup helpers: * do_fixup_by_prop{_u32} - Find matching nodes by property name/value * do_fixup_by_compat{_u32} - Find matching nodes by compat The _u32 variants work the same only the property they are setting is know to be a 32-bit integer instead of a byte buffer. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Added a fixup helper that uses aliases to set mac addresses in the device tree based on the bd_t Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Moved the generic fixup handling code out of cpu/mpc5xxx and cpu/mpc8260 into common/fdt_support.c and renamed: do_fixup() -> do_fixup_by_path() do_fixup_u32() -> do_fixup_by_path_u32() Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Removed: fdt_node_is_compatible fdt_find_node_by_type fdt_find_compatible_node To ease merge of newer libfdt as we aren't using them anywhere at this time. Also moved fdt_find_and_setprop out of libfdt into fdt_support.c for the same reason. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 16 8月, 2007 1 次提交
-
-
由 Kim Phillips 提交于
Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 11 8月, 2007 7 次提交
-
-
由 Gerald Van Baren 提交于
Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setup() out by creating a new fdt boardsetup command. Fix a bug when parsing fdt set command values which have the square bracket form [00 11 22 33] - the length was updated incorrectly in when parsing that form. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
The fdt_chosen() function was adding/seting some properties ad-hoc improperly and duplicated (poorly) what was done in ft_board_setup() Clean up long lines (setting properties, printing errors). Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
The new name matches more closely the kernel's name, which is also a much better description. Signed-off-by: NWolfgang Grandegger <wg@grandegger.com> Acked-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
Declare the variable fdt properly as extern. Call the "set_fn" function pointer the "short way" without the full dereferencing syntax. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Gerald Van Baren 提交于
Print more than the raw libfdt error message strings. This is especially useful for cluing in the user when the bootm command aborts due to blob problems. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
- 20 4月, 2007 1 次提交
-
-
由 Gerald Van Baren 提交于
What was suppose to be a stack variable was declared as a pointer, overwriting random memory. Also moved the libfdt.a requirement into the main Makefile. That is The U-Boot Way.
-
- 15 4月, 2007 1 次提交
-
-
由 Gerald Van Baren 提交于
In bootm, create the "/chosen" node only if it doesn't already exist (better matches the previous behavior). Update for proper reserved memory map handling for initrd.
-
- 07 4月, 2007 1 次提交
-
-
由 Gerald Van Baren 提交于
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
-