From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- kernel/drivers/staging/android/ion/Kconfig | 58 ++++------------------------------------------------------ 1 files changed, 4 insertions(+), 54 deletions(-) diff --git a/kernel/drivers/staging/android/ion/Kconfig b/kernel/drivers/staging/android/ion/Kconfig index bf3f90a..7b7da97 100644 --- a/kernel/drivers/staging/android/ion/Kconfig +++ b/kernel/drivers/staging/android/ion/Kconfig @@ -1,6 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig ION - tristate "Ion Memory Manager" - depends on HAVE_MEMBLOCK && HAS_DMA && MMU + bool "Ion Memory Manager" + depends on HAS_DMA && MMU select GENERIC_ALLOCATOR select DMA_SHARED_BUFFER help @@ -10,55 +11,4 @@ If you're not using Android its probably safe to say N here. -config ION_PROTECTED_HEAP - bool "Ion protected heap" - depends on ION - help - Choose this option to enable the Ion protected heap. The protected - heap is backed by pages from the gen pool allocator. - If in doubt, say Y. - -config ION_SYSTEM_HEAP - bool "Ion system heap" - depends on ION - help - Choose this option to enable the Ion system heap. The system heap - is backed by pages from the buddy allocator. If in doubt, say Y. - -config ION_CARVEOUT_HEAP - bool "Ion carveout heap support" - depends on ION - help - Choose this option to enable carveout heaps with Ion. Carveout heaps - are backed by memory reserved from the system. Allocation times are - typically faster at the cost of memory not being used. Unless you - know your system has these regions, you should say N here. - -config ION_CHUNK_HEAP - bool "Ion chunk heap support" - depends on ION - help - Choose this option to enable chunk heaps with Ion. This heap is - similar in function the carveout heap but memory is broken down - into smaller chunk sizes, typically corresponding to a TLB size. - Unless you know your system has these regions, you should say N here. - -config ION_CMA_HEAP - bool "Ion CMA heap support" - depends on ION && DMA_CMA - help - Choose this option to enable CMA heaps with Ion. This heap is backed - by the Contiguous Memory Allocator (CMA). If your system has these - regions, you should say Y here. - -config ION_FORCE_DMA_SYNC - bool "Force ION to always DMA sync buffer memory" - depends on ION - help - Force ION to DMA sync buffer memory when it is allocated and to - always DMA sync the buffer memory on calls to begin/end cpu - access. This makes ION DMA sync behavior similar to that of the - older version of ION. - We generally don't want to enable this config as it breaks the - cache maintenance model. - If you're not sure say N here. +source "drivers/staging/android/ion/heaps/Kconfig" -- Gitblit v1.6.2