path: root/lib/rbtree.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-16kbuild: force to define __UBOOT__ in all the C sourcesMasahiro Yamada1-1/+0
U-Boot has imported various source files from other projects, mostly Linux. Something like #ifdef __UBOOT__ [ modification for U-Boot ] #else [ original code ] #endif is an often used strategy for clarification of adjusted parts, that is, easier re-sync in future. Instead of defining __UBOOT__ in each source file, passing it from the top Makefile would be easier. Signed-off-by: Masahiro Yamada <> Acked-by: Marek Vasut <> Acked-by: Heiko Schocher <>
2014-08-25lib, rbtree: resync with Linux-3.14Heiko Schocher1-255/+429
resync with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds <> Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, changed the license file header, and add in the c-file: +#define __UBOOT__ #include <linux/rbtree_augmented.h> +#ifndef __UBOOT__ #include <linux/export.h> +#else +#include <ubi_uboot.h> +#endif so, it compiles for U-Boot. Signed-off-by: Heiko Schocher <> Cc: Marek Vasut <> Cc: Sergey Lapin <> Cc: Scott Wood <> Cc: Tom Rini <>
2013-07-24Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk1-13/+1
Signed-off-by: Wolfgang Denk <> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <>
2010-04-13Rename lib_generic/ to lib/Peter Tyser1-0/+390
Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by: Peter Tyser <>