From 62a8618606ca2592490fe301b0ece7a52d57aa25 Mon Sep 17 00:00:00 2001 From: nwert Date: Tue, 12 Jun 2018 10:30:19 +1200 Subject: [PATCH] Buildfix. --- ipl/ffconf.h | 2 +- ipl/hos.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipl/ffconf.h b/ipl/ffconf.h index 6156fa1..c5511ae 100755 --- a/ipl/ffconf.h +++ b/ipl/ffconf.h @@ -50,7 +50,7 @@ /* This option switches f_expand function. (0:Disable or 1:Enable) */ -#define FF_USE_CHMOD 0 +#define FF_USE_CHMOD 1 /* This option switches attribute manipulation functions, f_chmod() and f_utime(). / (0:Disable or 1:Enable) Also FF_FS_READONLY needs to be 0 to enable this option. */ diff --git a/ipl/hos.c b/ipl/hos.c index bb25474..d3c45a4 100755 --- a/ipl/hos.c +++ b/ipl/hos.c @@ -422,7 +422,7 @@ int hos_launch(ini_sec_t *cfg) memcpy((void *)ctxt.pkg1_id->warmboot_base, ctxt.warmboot, ctxt.warmboot_size); //Set warmboot address in PMC if required. if (ctxt.pkg1_id->set_warmboot) - PMC(APBDEV_PMC_SCRATCH1) = 0x8000D000; + PMC(APBDEV_PMC_SCRATCH1) = ctxt.pkg1_id->warmboot_base; //Replace 'SecureMonitor' if requested. if (ctxt.secmon)