X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2F405_mal.h;h=1ca9429e23447a049225e2c14c093fc5a7312ace;hb=73db0c71da365a2d101878ae3aeb8ff3545a1828;hp=69d20c98ffd3b96db59109126106e7dbccdcf306;hpb=ba56f625767d058b0e05a22729de13be5e0f6334;p=oweals%2Fu-boot.git diff --git a/include/405_mal.h b/include/405_mal.h index 69d20c98ff..1ca9429e23 100644 --- a/include/405_mal.h +++ b/include/405_mal.h @@ -1,5 +1,7 @@ /* include/mal.h, openbios_walnut, walnut_bios 8/6/99 08:48:40 */ /*----------------------------------------------------------------------------+ +| This source code is dual-licensed. You may use it under the terms of the +| GNU General Public License version 2, or under the license below. | | This source code has been made available to you by IBM on an AS-IS | basis. Anyone receiving this source is licensed under IBM @@ -92,11 +94,24 @@ #define MAL_ESR_PBEI 0x00000001 /* ^^ ^^ */ /* Mal IER */ +#if defined(CONFIG_440SPE) || \ + defined(CONFIG_440EPX) || defined(CONFIG_440GRX) || \ + defined(CONFIG_460EX) || defined(CONFIG_460GT) || \ + defined(CONFIG_405EX) +#define MAL_IER_PT 0x00000080 +#define MAL_IER_PRE 0x00000040 +#define MAL_IER_PWE 0x00000020 +#define MAL_IER_DE 0x00000010 +#define MAL_IER_OTE 0x00000004 +#define MAL_IER_OE 0x00000002 +#define MAL_IER_PE 0x00000001 +#else #define MAL_IER_DE 0x00000010 #define MAL_IER_NE 0x00000008 #define MAL_IER_TE 0x00000004 #define MAL_IER_OPBE 0x00000002 #define MAL_IER_PLBE 0x00000001 +#endif /* MAL Channel Active Set and Reset Registers */ #define MAL_TXRX_CASR (0x80000000)