X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fpost.h;h=08a771e4055f933aad28556dcf898f8eb66e76d8;hb=29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a;hp=8bee125f91d4e37d0a190b0cbe33b8a5d8366c0f;hpb=4f58002013ba1e89eb8fda015ff495bd37cd4016;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/post.h b/include/post.h index 8bee125..08a771e 100644 --- a/include/post.h +++ b/include/post.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. @@ -5,8 +6,6 @@ * (C) Copyright 2010 * Michael Zaidman, Kodak, michael.zaidman@kodak.com * post_word_{load|store} cleanup. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _POST_H #define _POST_H @@ -15,21 +14,14 @@ #include #include -#if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER) +#if defined(CONFIG_POST) #ifndef CONFIG_POST_EXTERNAL_WORD_FUNCS #ifdef CONFIG_SYS_POST_WORD_ADDR #define _POST_WORD_ADDR CONFIG_SYS_POST_WORD_ADDR #else -#ifdef CONFIG_MPC5xxx -#define _POST_WORD_ADDR (MPC5XXX_SRAM + MPC5XXX_SRAM_POST_SIZE) - -#elif defined(CONFIG_MPC512X) -#define _POST_WORD_ADDR \ - (CONFIG_SYS_SRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET - 0x4) - -#elif defined(CONFIG_MPC8360) +#if defined(CONFIG_MPC8360) #include #define _POST_WORD_ADDR (CONFIG_SYS_IMMR + CPM_POST_WORD_ADDR) @@ -42,10 +34,6 @@ #include #define _POST_WORD_ADDR (CONFIG_SYS_IMMR + CONFIG_SYS_MPC86xx_PIC_OFFSET + \ offsetof(ccsr_pic_t, tfrr)) - -#elif defined (CONFIG_4xx) -#define _POST_WORD_ADDR \ - (CONFIG_SYS_OCM_DATA_ADDR + CONFIG_SYS_GBL_DATA_OFFSET - 0x4) #endif #ifndef _POST_WORD_ADDR @@ -69,7 +57,7 @@ extern ulong post_word_load(void); extern void post_word_store(ulong value); #endif /* CONFIG_POST_EXTERNAL_WORD_FUNCS */ -#endif /* defined (CONFIG_POST) || defined(CONFIG_LOGBUFFER) */ +#endif /* defined (CONFIG_POST) */ #endif /* __ASSEMBLY__ */ #ifdef CONFIG_POST