esp32: Retire XTENSA_IMEM_PROCFS

Now /proc/meminfo has the equivalent.
This commit is contained in:
YAMAMOTO Takashi
2021-02-12 14:56:11 +09:00
committed by David Sidrane
parent 7bb849535c
commit aed24f1255
7 changed files with 0 additions and 443 deletions

View File

@@ -55,8 +55,6 @@
#include <sys/errno.h>
#include <nuttx/himem/himem.h>
#include "esp32_procfs_imm.h"
#include "esp32_wlan.h"
#include "esp32_spiflash.h"
#include "esp32_partition.h"
@@ -137,21 +135,6 @@ int esp32_bringup(void)
{
int ret;
#ifdef CONFIG_XTENSA_IMEM_PROCFS
/* Register the internal memory procfs entry.
* This must be done before the procfs is mounted.
*/
ret = imm_procfs_register();
if (ret < 0)
{
syslog(LOG_ERR,
"ERROR: Failed to register internal memory to PROCFS: %d\n",
ret);
}
#endif
#ifdef CONFIG_ESP32_AES_ACCELERATOR
ret = esp32_aes_init();
if (ret < 0)

View File

@@ -40,8 +40,6 @@
#include <sys/errno.h>
#include <nuttx/himem/himem.h>
#include "esp32_procfs_imm.h"
#include "esp32_wlan.h"
#include "esp32_spiflash.h"
#include "esp32_partition.h"
@@ -118,21 +116,6 @@ int esp32_bringup(void)
{
int ret;
#ifdef CONFIG_XTENSA_IMEM_PROCFS
/* Register the internal memory procfs entry.
* This must be done before the procfs is mounted.
*/
ret = imm_procfs_register();
if (ret < 0)
{
syslog(LOG_ERR,
"ERROR: Failed to register internal memory to PROCFS: %d\n",
ret);
}
#endif
#if defined(CONFIG_ESP32_SPIRAM) && \
defined(CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE)
ret = esp_himem_init();

View File

@@ -40,8 +40,6 @@
#include <sys/errno.h>
#include <nuttx/himem/himem.h>
#include "esp32_procfs_imm.h"
#include "esp32_wlan.h"
#include "esp32_spiflash.h"
#include "esp32_partition.h"
@@ -118,21 +116,6 @@ int esp32_bringup(void)
{
int ret;
#ifdef CONFIG_XTENSA_IMEM_PROCFS
/* Register the internal memory procfs entry.
* This must be done before the procfs is mounted.
*/
ret = imm_procfs_register();
if (ret < 0)
{
syslog(LOG_ERR,
"ERROR: Failed to register internal memory to PROCFS: %d\n",
ret);
}
#endif
#if defined(CONFIG_ESP32_SPIRAM) && \
defined(CONFIG_ESP32_SPIRAM_BANKSWITCH_ENABLE)
ret = esp_himem_init();