@@ -101,6 +101,7 @@ impl Stage0 {
101
101
. expect ( "Clock configuration failed" )
102
102
}
103
103
104
+ #[ inline( never) ]
104
105
pub fn next ( mut self , iocon : hal:: Iocon < Unknown > , gpio : hal:: Gpio < Unknown > ) -> Stage1 {
105
106
unsafe {
106
107
super :: types:: DEVICE_UUID . copy_from_slice ( & hal:: uuid ( ) ) ;
@@ -223,6 +224,7 @@ impl Stage1 {
223
224
}
224
225
}
225
226
227
+ #[ inline( never) ]
226
228
pub fn next (
227
229
mut self ,
228
230
adc : hal:: Adc < Unknown > ,
@@ -450,6 +452,7 @@ impl Stage2 {
450
452
info_now ! ( "hardware checks successful" ) ;
451
453
}
452
454
455
+ #[ inline( never) ]
453
456
pub fn next (
454
457
mut self ,
455
458
flexcomm0 : hal:: peripherals:: flexcomm:: Flexcomm0 < Unknown > ,
@@ -495,6 +498,7 @@ pub struct Stage3 {
495
498
}
496
499
497
500
impl Stage3 {
501
+ #[ inline( never) ]
498
502
pub fn next (
499
503
mut self ,
500
504
rng : hal:: peripherals:: rng:: Rng < Unknown > ,
@@ -536,6 +540,7 @@ pub struct Stage4 {
536
540
}
537
541
538
542
impl Stage4 {
543
+ #[ inline( never) ]
539
544
pub fn next ( mut self ) -> Stage5 {
540
545
let syscon = & mut self . peripherals . syscon ;
541
546
let pmc = & mut self . peripherals . pmc ;
@@ -649,6 +654,7 @@ pub struct Stage5 {
649
654
}
650
655
651
656
impl Stage5 {
657
+ #[ inline( never) ]
652
658
pub fn next ( mut self , rtc : hal:: peripherals:: rtc:: Rtc < Unknown > ) -> Stage6 {
653
659
let syscon = & mut self . peripherals . syscon ;
654
660
let pmc = & mut self . peripherals . pmc ;
@@ -710,6 +716,7 @@ impl Stage6 {
710
716
}
711
717
}
712
718
719
+ #[ inline( never) ]
713
720
pub fn next ( mut self ) -> All {
714
721
self . perform_data_migrations ( ) ;
715
722
let apps = crate :: init_apps ( & mut self . trussed , & self . store , self . clocks . is_nfc_passive ) ;
@@ -752,6 +759,7 @@ pub struct All {
752
759
pub clock_controller : Option < DynamicClockController > ,
753
760
}
754
761
762
+ #[ inline( never) ]
755
763
pub fn start ( syscon : hal:: Syscon , pmc : hal:: Pmc , anactrl : hal:: Anactrl ) -> Stage0 {
756
764
let peripherals = Peripherals {
757
765
syscon,
0 commit comments