File 0007-boo-1123170-Remove-ubifs-support-fr.patch of Package u-boot-dragonboard820c
50
1
From a8a80cd195076225874b8ad92091d66ee347a3f6 Mon Sep 17 00:00:00 2001
2
From: Guillaume GARDET <guillaume.gardet@free.fr>
3
Date: Tue, 29 Jan 2019 11:38:12 +0100
4
Subject: [PATCH] boo#1123170: Remove ubifs support from omap3_beagle to keep a
5
small u-boot.img
6
7
---
8
configs/omap3_beagle_defconfig | 3 ++-
9
include/configs/omap3_beagle.h | 1 -
10
2 files changed, 2 insertions(+), 2 deletions(-)
11
12
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
13
index 9581dd9537..f1a34212ac 100644
14
--- a/configs/omap3_beagle_defconfig
15
+++ b/configs/omap3_beagle_defconfig
16
17
CONFIG_CMD_MTDPARTS=y
18
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
19
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(spl),1920k(u-boot),128k(u-boot-env),128k(dtb),6m(kernel),-(rootfs)"
20
-CONFIG_CMD_UBI=y
21
# CONFIG_ISO_PARTITION is not set
22
CONFIG_OF_CONTROL=y
23
CONFIG_DEFAULT_DEVICE_TREE="omap3-beagle"
24
25
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
26
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
27
CONFIG_SPL_NAND_SIMPLE=y
28
+CONFIG_MTD_UBI=y
29
CONFIG_SPI=y
30
CONFIG_OMAP3_SPI=y
31
CONFIG_USB=y
32
33
CONFIG_VIDEO_OMAP3=y
34
CONFIG_FAT_WRITE=y
35
CONFIG_BCH=y
36
+CONFIG_LZO=y
37
CONFIG_SPL_OF_LIBFDT=y
38
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
39
index 7698a90c4e..c614a6d962 100644
40
--- a/include/configs/omap3_beagle.h
41
+++ b/include/configs/omap3_beagle.h
42
43
#define BOOT_TARGET_DEVICES(func) \
44
func(MMC, mmc, 0) \
45
func(LEGACY_MMC, legacy_mmc, 0) \
46
- func(UBIFS, ubifs, 0) \
47
func(NAND, nand, 0)
48
49
#else /* !CONFIG_NAND */
50