diff options
author | Mikael Larsson <mikael.xt.larsson@stericsson.com> | 2010-09-16 13:31:13 +0200 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-09-28 18:20:52 +0200 |
commit | a528a25f4c1956b67d121c99ab3aadbfa0cdf93b (patch) | |
tree | eb6d40bf54c49d3b4e6dd3068e72a61c0e5dcb46 /board/st/u8500/cspsa_fp.h | |
parent | 76f64ab36b85b33abfc9a53eff21e87fc63c8794 (diff) |
ITP loading
This adds functionality to load and execute ITP in an early stage just after eMMC init.
eMMC init was moved to mmc_host.c since it fits better there and is needed in
order to access ITP before loading env.
Flag for functionality is CONFIG_ITP_LOAD.
This functionailty depends on CONFIG_TOC_PARTITION
ST-Ericsson ID: ER273744
Change-Id: Ia80f0bf2d67055045c95e47473b9ba2275bbdb83
Signed-off-by: Mikael LARSSON <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5130
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Diffstat (limited to 'board/st/u8500/cspsa_fp.h')
-rw-r--r-- | board/st/u8500/cspsa_fp.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/board/st/u8500/cspsa_fp.h b/board/st/u8500/cspsa_fp.h new file mode 100644 index 000000000..13ddd1e69 --- /dev/null +++ b/board/st/u8500/cspsa_fp.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) ST-Ericsson SA 2010 + * + * Author: Martin Lundholm <martin.xa.lundholm@stericsson.com> + * + * License terms: GNU General Public License (GPL), version 2. + * + * cspsa_fp.h + * + * API for CSPSA Fast Parameters + * + */ + +#ifndef __CSPSA_FP_H__ +#define __CSPSA_FP_H__ + +/* -------------------------------------------------------------------------- */ + +#include <common.h> +#include <part.h> + +/* -------------------------------------------------------------------------- */ + +#define CSPSA_NBR_OF_FAST_PARAMETERS 4 +#define CSPSA_PARTITION_NAME "CSPSA0" + +/* -------------------------------------------------------------------------- */ + +int cspsa_fp_read(block_dev_desc_t *block_dev, u32 key, u32 *value); + +#endif |