kobs-ng: disable use of nfc_geometry sysfs entry in kernel 3.10

This was supported in kernel 2.6.35 (FSL release) but not in community
kernel 3.10

https://jira.digi.com/browse/DEL-839

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-11-14 17:03:14 +01:00
parent fed71f0ce3
commit f97939454d
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From: Javier Viguera <javier.viguera@digi.com>
Date: Thu, 14 Nov 2013 16:46:01 +0100
Subject: [PATCH] disable use of nfc_geometry
Not supported in kernel v3.10
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---
src/plat_boot_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plat_boot_config.c b/src/plat_boot_config.c
index af7e03a47f1b..463045f0bc75 100644
--- a/src/plat_boot_config.c
+++ b/src/plat_boot_config.c
@@ -46,7 +46,7 @@ static platform_config mx28_boot_config = {
.m_u32EnDISBBM = 0,
.m_u32EnSoftEcc = 1,
.m_u32EnBootStreamVerify = 1,
- .m_u32UseNfcGeo = 1,
+ .m_u32UseNfcGeo = 0,
.m_u32UseMultiBootArea = 0,
.m_u32UseSinglePageStride = 1,
.m_u32DBBT_FingerPrint = DBBT_FINGERPRINT2,

View File

@ -17,6 +17,7 @@ SRC_URI = " \
file://0004-discover-boot-ROM-version-from-FDT-if-available.patch \ file://0004-discover-boot-ROM-version-from-FDT-if-available.patch \
file://0005-dump-v1-boot-structures.patch \ file://0005-dump-v1-boot-structures.patch \
file://0006-added-option-to-verify-data-written-to-flash.patch \ file://0006-added-option-to-verify-data-written-to-flash.patch \
${@base_conditional('IS_KERNEL_2X', '1' , '', 'file://0007-disable-use-of-nfc_geometry.patch', d)} \
" "
SRC_URI[md5sum] = "2a0e55b5063605b2664fd67c95a6c686" SRC_URI[md5sum] = "2a0e55b5063605b2664fd67c95a6c686"