Commit Graph

  • a7ee95ded6 libfdt: Abolish encoding of error codes into pointers David Gibson 2006-12-15 15:12:49 +1100
  • 73d60926a0 libfdt: Use void * to refer to device tree blobs David Gibson 2006-12-15 15:12:47 +1100
  • 568b569e89 libfdt: Fixup usage of fdt_offset_ptr() in fdt_rw.c David Gibson 2006-12-12 15:46:14 +1100
  • 9825f823eb libfdt: Fix bounds-checking bug in fdt_get_property() David Gibson 2006-12-14 15:29:25 +1100
  • 6ae4de5c81 libfdt: Remove unused _ptr_offset() function David Gibson 2006-12-12 12:48:15 +1100
  • 94993f4fc4 libfdt: Abolish fdt_property_offset() David Gibson 2006-12-11 16:15:34 +1100
  • 95393db96f dtc: Remove verbose message from get_node_phandle() David Gibson 2006-12-11 11:02:59 +1100
  • 1a765f51a4 libfdt: Fixups for 64-bit machines David Gibson 2006-12-07 15:24:26 +1100
  • e25487db34 libfdt: Fix libfdt for little endian hosts David Gibson 2006-12-04 12:52:45 +1100
  • 81bdd52c07 libfdt: Add dtb files to .gitignore David Gibson 2006-12-04 11:17:32 +1100
  • 7ba551f966 libfdt: Read-write support David Gibson 2006-12-01 16:59:43 +1100
  • fe92f6bb75 libfdt: Introduce flat tree format v17 David Gibson 2006-12-01 16:25:39 +1100
  • aeddfe2c34 libfdt: Factor out string search function David Gibson 2006-12-01 15:11:58 +1100
  • 423697628a libfdt: Implement fdt_move() David Gibson 2006-12-01 15:07:19 +1100
  • ede25deae6 libfdt: Export accessors for header fields David Gibson 2006-12-01 15:02:10 +1100
  • 41722c230c libfdt: Fix logic in nop_property testcase David Gibson 2006-12-01 13:10:07 +1100
  • 65380f164c Add a copy of the GPL David Gibson 2006-11-29 16:49:27 +1100
  • 063693a9e4 libfdt: Sequential write support David Gibson 2006-11-29 16:45:46 +1100
  • 3aa4cfd66b Simplify string table access functions David Gibson 2006-11-29 16:34:30 +1100
  • 156649d4f6 Fix building of dumptrees David Gibson 2006-11-29 13:34:22 +1100
  • 4e6221c171 Have tests read example tree from a generated file, rather than link it in. This makes the tests more flexible to re-use for testing the output from the write tests. David Gibson 2006-11-28 17:20:01 +1100
  • 3da0f9a10d libfdt - library for manipulating device trees in flattened format David Gibson 2006-11-27 16:21:28 +1100
  • f016882f91 Change default output blob version from 3 to 16 Kim Phillips 2006-10-30 10:48:59 -0600
  • 332c536425 dtc: fix endian issue when reading blobs Michael Neuling 2006-07-07 23:28:10 +1000
  • a73b7d43d4 Merge branch 'jdl' Jon Loeliger 2006-06-24 17:33:28 -0500
  • 6cf2bcd1e0 Add copyright. Fix 80-column line. Jon Loeliger 2006-06-24 15:52:48 -0500
  • 780c742b14 Remove dead code. Jon Loeliger 2006-06-24 15:42:51 -0500
  • 38e8f8fd88 dtc: add setting of physical boot cpu Michael Neuling 2006-05-31 08:31:51 +1000
  • 05ae3d8eeb Use .long on high and low halfs of u64s to avoid .quad as it appears .quad isn't available in some assemblers. Jon Loeliger 2006-04-19 11:58:45 -0500
  • f7374f60eb Don't generate the mem-reserve entry for the blob itself, even for ASM output. It was inconsistent with the binary output form, and kernel folks decided to have the early kernel perform the reservation itself. Jon Loeliger 2006-04-19 11:34:22 -0500
  • 7a9f663ac7 The problem is that asm_emit_cell() was swapping its asm output when it shouldn't be (because the assembler will do the necessary swapping). The cell values (asm_emit_cell()) are different from the data values (asm_emit_data()) because the cell values are generated within the program and don't get swapped like the data values read from the dts file. They should be left as they are so that the assembler will swap them, if necessary. For example, when the property length field was 4, the asm output contained ".long 0x4000000" and sent the kernel prom.c dt parsing code into the weeds. Mark A. Greer 2006-03-15 18:59:24 -0700
  • f5aa792d81 Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by way of some more documentation. dwg-last David Gibson 2006-01-31 16:17:59 +1100
  • f192a7ae0b [PATCH] dtc: Update flat OF doc for new mdio properties Becky Bruce 2006-01-10 13:16:28 -0600
  • 986c272d66 Added document describing flattened tree format and what properties / nodes the kernel needs. Written by BenH and Becky Bruce. David Gibson 2005-12-06 15:22:36 +1100
  • 1ae70562f0 Remove no longer used (and already commented) reserve_data field from boot_info. David Gibson 2005-10-26 16:57:40 +1000
  • 712e52e438 Use names for output functions in the form dt_to_*() instead of write_dt_*() for consistency with the dt_from_*() input functions. David Gibson 2005-10-26 16:56:26 +1000
  • f040d95b84 Rework tracking of reserve entries during processing. This is initial work to allow more powerful handling of reserve entries. David Gibson 2005-10-24 18:18:38 +1000
  • fccb194a14 Add a second cpu and a timebase frequency to test.dts. David Gibson 2005-10-24 17:27:36 +1000
  • 8f1bc85611 Add a .gitignore file. David Gibson 2005-10-21 17:28:42 +1000
  • 740a19a819 Alter add_property() and add_child() functiosn to add to the end of their respective linked lists. This means we no longer reverse the order or properties and subnodes when in blob or fs input modes. David Gibson 2005-10-21 17:26:45 +1000
  • cba839c728 Reduce message about too-long property names to a mere warning, it causes too much trouble. Still need to fix up error handling in general. David Gibson 2005-10-20 13:56:23 +1000
  • 1847d161dc Update TODO David Gibson 2005-10-19 16:29:52 +1000
  • 86dbcbd1e4 Rudimentary support for reporting the line number of syntax errors. David Gibson 2005-10-19 16:00:31 +1000
  • b4ac04952a Oops avoid using case range gcc extension. David Gibson 2005-10-17 10:27:45 +1000
  • 93c82174ea Use C99 fixed width integer type names in libdt. David Gibson 2005-10-17 10:27:27 +1000
  • c6d036eaec Oops, use strtoul() instead of strtol() in dtc-lexer.l, so that we correctly handle cell values above 7fffffff. Bug pointed out by Kumar Gala. David Gibson 2005-10-14 11:59:23 +1000
  • b2543fc875 Add ftdump utility, contributed by Pantelis Antoniou. David Gibson 2005-08-29 14:58:27 +1000
  • 6c0f36769a Fix endian problems with handling of memreserve entries (bug pointed out by Pantelis Antoniou). The rule is that the memreserve data in struct boot_info is always stored big-endian. David Gibson 2005-08-29 13:36:15 +1000
  • 230f253e9b Remove an unused function, mark a bunch of other functions and variables as static. Mostly found by sparse. David Gibson 2005-08-29 12:48:02 +1000
  • 41916138dd Forgot to realign after emitting auto-generated "name" properties. Oops. David Gibson 2005-08-25 15:39:09 +1000
  • dffc2a8972 Add a couple of missing cpu_to_be32() writing the version numbers out. David Gibson 2005-08-25 14:47:20 +1000
  • 4ddf7c020c In flat tree reading, check for (negative) string offsets which underrun the input blob. (Patch from Michael Ellerman). David Gibson 2005-08-19 16:11:11 +1000
  • 7f6d12b3a1 Remove unused enum from dtc.h. David Gibson 2005-07-15 17:20:34 +1000
  • f0517db250 Support for specifying memreserve ranges in the source format, based on a patch by Jon Loeliger <jdl AT freescale.com>, although tweaked substantially. David Gibson 2005-07-15 17:14:24 +1000
  • 586606e35d Oops, fix stupid bug where we emitted padding before, rather than after the blob header. David Gibson 2005-07-14 11:27:24 +1000
  • 47f23dee09 Ensure that the reserve map is doubleword aligned in blob and asm output. David Gibson 2005-07-11 17:19:26 +1000
  • a6c69572a3 Remove inaccurate comment. David Gibson 2005-07-11 17:09:42 +1000
  • 03a9b9dcdc Use u8 instead of uint8_t, as we do with the other size types. David Gibson 2005-07-11 16:49:52 +1000
  • 7ee3ffd43f Fix bug in error message. David Gibson 2005-07-11 16:45:57 +1000
  • 1cb934b3aa Add automatic dependency generation. David Gibson 2005-07-11 16:29:25 +1000
  • 5a446b0cd8 Add flex option to stop warning about unused yyunput(). David Gibson 2005-07-11 13:53:13 +1000
  • c5c437e25b Oops. Using %{ %} in the rules (rather than definitions) section of a lex file has undefined behaviour. In fact it ends up including the stuff within the definition of the yylex() function, leading to strange warnings on gcc-3.4 and compile errors with gcc 4. David Gibson 2005-07-04 13:53:14 +1000
  • 363f1ea846 Add missing file. David Gibson 2005-07-04 13:51:09 +1000
  • ab870cadb4 First cut at a "libdt" set of routines for extracting things from the flattened tree. Could be used in firmware. David Gibson 2005-06-23 15:45:13 +1000
  • 9ad4587c90 Remove build_empty_property(). It wasn't useful. David Gibson 2005-06-17 14:32:32 +1000
  • 81f2e89c75 Rudimentary phandle reference support. David Gibson 2005-06-16 17:04:00 +1000
  • 4102d840d9 Initial label support. Also switch to glr-parser mode and get rid of hacks that were necessary without it. David Gibson 2005-06-16 14:36:37 +1000
  • fc14dad769 Initial commit David Gibson 2005-06-08 17:18:34 +1000