coreboot/src/mainboard/intel
Martin Roth a0a71b046a fsp platfoms: add prototype & consolidate main entry-point
- In '-ffreestanding' main() is just as any other function and so
it needs a type-signature. Fixes a clang warning.

- Bay Trail and Rangeley have the updated romstage.c with the code
moved into the chipset, put the prototype in romstage.c.

- The sandybridge code has not been updated, so the prototype
for it goes into chipset_fsp_util.h, next to the prototype for
romstage_main_continue.

- Correct the return value of baytrail main() from void * to void
and remove the unnecessary asmlinkage tag. I'm surprised that this
didn't generate a warning...

Change-Id: I85ac0797d1e55d2b7ffdca039a52820d7827e704
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/7724
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2014-12-09 03:02:39 +01:00
..
bakersport_fsp Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
baskingridge Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
bayleybay_fsp Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
cougar_canyon2 fsp platfoms: add prototype & consolidate main entry-point 2014-12-09 03:02:39 +01:00
d810e2cb Replace hlt with halt() 2014-12-02 10:25:55 +01:00
d945gclf i945: Consolidate acpi/platform.asl 2014-12-03 21:02:50 +01:00
eagleheights mainboard/*/debug.c: Remove duplicate or dead code 2014-11-15 10:25:23 +01:00
emeraldlake2 Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
jarrell mainboard/*/debug.c: Remove duplicate or dead code 2014-11-15 10:25:23 +01:00
minnowmax Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
mohonpeak Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
mtarvon intel/cpu: rename car.h to romstage.h 2014-08-15 03:44:46 +02:00
truxton mainboard/*/debug.c: Remove duplicate or dead code 2014-11-15 10:25:23 +01:00
wtm2 Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
xe7501devkit e7501: Move to perdev ACPI 2014-10-19 09:56:54 +02:00
Kconfig bayleybay_fsp: Add bakersport board variant 2014-08-11 20:06:44 +02:00