Fix warnings introduced in prior commit

* #define CONFIG_RTC APPLICATION  (in sim builds)
 * #define CONFIG_STORAGE 0        (in PCTOOL builds)

Change-Id: Iabb77bd0a29ca06a13d1075f1e8cedb00f785c64
This commit is contained in:
Solomon Peachy 2025-10-12 17:04:06 -04:00
parent 0f8f05db29
commit 9aa6a35b3f
10 changed files with 11 additions and 9 deletions

View file

@ -340,6 +340,7 @@ Lyre prototype 1 */
#define NAND_IMX233 6 #define NAND_IMX233 6
/* CONFIG_RTC */ /* CONFIG_RTC */
#define RTC_HOSTED 1 /* Generic hosted */
#define RTC_PCF50605 2 /* iPod 3G, 4G & Mini */ #define RTC_PCF50605 2 /* iPod 3G, 4G & Mini */
#define RTC_PCF50606 3 /* iriver H300 */ #define RTC_PCF50606 3 /* iriver H300 */
#define RTC_S3C2440 4 #define RTC_S3C2440 4
@ -642,6 +643,7 @@ Lyre prototype 1 */
#undef HAVE_MULTIDRIVE #undef HAVE_MULTIDRIVE
#undef CONFIG_STORAGE_MULTI #undef CONFIG_STORAGE_MULTI
#undef CONFIG_STORAGE #undef CONFIG_STORAGE
#define CONFIG_STORAGE 0
#endif #endif
#ifndef CONFIG_BUFLIB_BACKEND #ifndef CONFIG_BUFLIB_BACKEND

View file

@ -52,7 +52,7 @@
#define HAVE_BUTTON_DATA #define HAVE_BUTTON_DATA
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000

View file

@ -66,7 +66,7 @@
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000

View file

@ -60,7 +60,7 @@
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
#ifndef SIMULATOR #ifndef SIMULATOR
/* We have usb power and can detect usb but it is handled by Linux */ /* We have usb power and can detect usb but it is handled by Linux */

View file

@ -44,7 +44,7 @@
#define HAVE_BUTTON_DATA #define HAVE_BUTTON_DATA
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000

View file

@ -43,7 +43,7 @@
#define HAVE_BUTTON_DATA #define HAVE_BUTTON_DATA
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000

View file

@ -44,7 +44,7 @@
#define HAVE_BUTTON_DATA #define HAVE_BUTTON_DATA
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000

View file

@ -48,7 +48,7 @@
#define HAVE_VOLUME_IN_LIST #define HAVE_VOLUME_IN_LIST
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x200000 #define CODEC_SIZE 0x200000

View file

@ -112,7 +112,7 @@
/* R1 has a standard linux RTC driver on /dev/rtc1 (->/dev/rtc) /* R1 has a standard linux RTC driver on /dev/rtc1 (->/dev/rtc)
* The RTC is S35392 A * The RTC is S35392 A
*/ */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
#define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */ #define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */ #define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */

View file

@ -53,7 +53,7 @@
#define HAVE_BUTTON_DATA #define HAVE_BUTTON_DATA
/* define this if you have a real-time clock */ /* define this if you have a real-time clock */
#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_HOSTED
/* The number of bytes reserved for loadable codecs */ /* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x100000 #define CODEC_SIZE 0x100000