CBMEM: Always use DYNAMIC_CBMEM
Drop the implementation of statically allocated high memory region for CBMEM. There is no longer the need to explicitly select DYNAMIC_CBMEM, it is the only remaining choice. Change-Id: Iadf6f27a134e05daa1038646d0b4e0b8f9f0587a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7851 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
		| @@ -54,7 +54,6 @@ int rmodule_calc_region(unsigned int region_alignment, size_t rmodule_size, | ||||
| /* Support for loading rmodule stages. This API is only available when | ||||
|  * using dynamic cbmem because it uses the dynamic cbmem API to obtain | ||||
|  * the backing store region for the stage. */ | ||||
| #if CONFIG_DYNAMIC_CBMEM | ||||
| struct cbfs_stage; | ||||
| struct cbmem_entry; | ||||
|  | ||||
| @@ -70,7 +69,6 @@ struct rmod_stage_load { | ||||
| /* Both of the following functions return 0 on success, -1 on error. */ | ||||
| int rmodule_stage_load(struct rmod_stage_load *rsl, struct cbfs_stage *stage); | ||||
| int rmodule_stage_load_from_cbfs(struct rmod_stage_load *rsl); | ||||
| #endif | ||||
|  | ||||
| struct rmodule { | ||||
| 	void *location; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user