X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fpost.h;h=08a771e4055f933aad28556dcf898f8eb66e76d8;hb=2950c514e8fc2c9d6a48cd7187521bc648dc679e;hp=b9b9c3775baff5709af28c109f0217c48fe13592;hpb=ebba9d1daf7745483c8078bdae18875a84df5bc1;p=oweals%2Fu-boot.git diff --git a/include/post.h b/include/post.h index b9b9c3775b..08a771e405 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,7 +14,7 @@ #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 @@ -35,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 @@ -62,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