X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fext_common.h;h=1c10c50474840cbeccde7c97e7b7fa8e2a762940;hb=4dd520b36bce9b35f7a12f3ffd9a95269d425170;hp=07b61fa56bdd441713c3292a710ea6a285dd550a;hpb=cbe7706ab8aab06c18edaa9b120371f9c8012728;p=oweals%2Fu-boot.git diff --git a/include/ext_common.h b/include/ext_common.h index 07b61fa56b..1c10c50474 100644 --- a/include/ext_common.h +++ b/include/ext_common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2011 - 2012 Samsung Electronics * EXT4 filesystem implementation in Uboot by @@ -14,14 +15,13 @@ * based on code from grub2 fs/ext2.c and fs/fshelp.c by * GRUB -- GRand Unified Bootloader * Copyright (C) 2003, 2004 Free Software Foundation, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __EXT_COMMON__ #define __EXT_COMMON__ #include #define SECTOR_SIZE 0x200 +#define LOG2_SECTOR_SIZE 9 /* Magic value used to identify an ext2 filesystem. */ #define EXT2_MAGIC 0xEF53