diff options
author | Yuri Tikhonov <yur@emcraft.com> | 2008-03-31 08:51:37 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-22 12:40:19 (GMT) |
commit | 2d2b994a30bb100774dc747ae9865b7f95285a88 (patch) | |
tree | ab0325bd8261b84fa1101b0a47c058fd5fbb215d /include/common.h | |
parent | 0a51e9248e2d27e0a02ef1e740c576ce90a39ee1 (diff) | |
download | u-boot-2d2b994a30bb100774dc747ae9865b7f95285a88.tar.xz |
POST: move CONFIG_POST to Makefiles
Introduce the new logical option CONFIG_HAS_POST which is set when the
platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles
to determine should the POST libs be compiled for the selected target
platform, or not.
To avoid breaking u-boot linking process, the empty post/libpost.a file is
created for platforms which do not have POSTs.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 673afdd..8d435b9 100644 --- a/include/common.h +++ b/include/common.h @@ -672,4 +672,15 @@ void inline show_boot_progress (int val); #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) +/* Multicore arch functions */ +#ifdef CONFIG_MP +int cpu_status(int nr); +int cpu_reset(int nr); +int cpu_release(int nr, int argc, char *argv[]); +#endif + +#ifdef CONFIG_POST +#define CONFIG_HAS_POST +#endif + #endif /* __COMMON_H_ */ |