File tree 3 files changed +0
-56
lines changed
3 files changed +0
-56
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,6 @@ The POST layer will export the following interface routines:
138
138
mode the test is executed in (power-on, normal, power-fail,
139
139
manual).
140
140
141
- o) void post_reloc(ulong offset);
142
-
143
- This routine will be called from board_init_r() and will
144
- relocate the POST test table.
145
-
146
141
o) int post_info(char *name);
147
142
148
143
This routine will print the list of all POST tests that can be
Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ void post_bootmode_clear (void);
105
105
int post_run (char * name , int flags );
106
106
int post_info (char * name );
107
107
int post_log (char * format , ...);
108
- #ifdef CONFIG_NEEDS_MANUAL_RELOC
109
- void post_reloc (void );
110
- #endif
111
108
unsigned long post_time_ms (unsigned long base );
112
109
113
110
/**
Original file line number Diff line number Diff line change @@ -416,54 +416,6 @@ int post_log(char *format, ...)
416
416
return 0 ;
417
417
}
418
418
419
- #ifdef CONFIG_NEEDS_MANUAL_RELOC
420
- void post_reloc (void )
421
- {
422
- unsigned int i ;
423
-
424
- /*
425
- * We have to relocate the test table manually
426
- */
427
- for (i = 0 ; i < post_list_size ; i ++ ) {
428
- ulong addr ;
429
- struct post_test * test = post_list + i ;
430
-
431
- if (test -> name ) {
432
- addr = (ulong )(test -> name ) + gd -> reloc_off ;
433
- test -> name = (char * )addr ;
434
- }
435
-
436
- if (test -> cmd ) {
437
- addr = (ulong )(test -> cmd ) + gd -> reloc_off ;
438
- test -> cmd = (char * )addr ;
439
- }
440
-
441
- if (test -> desc ) {
442
- addr = (ulong )(test -> desc ) + gd -> reloc_off ;
443
- test -> desc = (char * )addr ;
444
- }
445
-
446
- if (test -> test ) {
447
- addr = (ulong )(test -> test ) + gd -> reloc_off ;
448
- test -> test = (int (* )(int flags )) addr ;
449
- }
450
-
451
- if (test -> init_f ) {
452
- addr = (ulong )(test -> init_f ) + gd -> reloc_off ;
453
- test -> init_f = (int (* )(void )) addr ;
454
- }
455
-
456
- if (test -> reloc ) {
457
- addr = (ulong )(test -> reloc ) + gd -> reloc_off ;
458
- test -> reloc = (void (* )(void )) addr ;
459
-
460
- test -> reloc ();
461
- }
462
- }
463
- }
464
- #endif
465
-
466
-
467
419
/*
468
420
* Some tests (e.g. SYSMON) need the time when post_init_f started,
469
421
* but we cannot use get_timer() at this point.
You can’t perform that action at this time.
0 commit comments