X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fdataflash.h;h=84a56c30ce2608c0c60f9e177a86bab7796f35c4;hb=a4562d0640264eac8ebca544be777ed125b260d7;hp=769354914fe0b9e15f38af52402797e528740930;hpb=1a4596601fd395f3afb8f82f3f840c5e00bdd57a;p=oweals%2Fu-boot.git diff --git a/include/dataflash.h b/include/dataflash.h index 769354914f..84a56c30ce 100644 --- a/include/dataflash.h +++ b/include/dataflash.h @@ -3,7 +3,7 @@ * Data Flash Atmel Description File * Author : Hamid Ikdoumi (Atmel) * - * SPDX-License-Identifier: GPL-2.0+ + * SPDX-License-Identifier: GPL-2.0+ */ /* File Name : dataflash.h */ @@ -23,7 +23,7 @@ /*number of protected area*/ #define NB_DATAFLASH_AREA 5 -#ifdef CONFIG_SYS_NO_FLASH +#ifndef CONFIG_MTD_NOR_FLASH /*----------------------------------------------------------------------- * return codes from flash_write(): @@ -49,7 +49,7 @@ * Set Environment according to label: */ # define FLAG_SETENV 0x80 -#endif /* CONFIG_SYS_NO_FLASH */ +#endif /* CONFIG_MTD_NOR_FLASH */ /*define the area structure*/ typedef struct {