projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
board
/
mbx8xx
/
vpd.c
diff --git
a/board/mbx8xx/vpd.c
b/board/mbx8xx/vpd.c
index
6f88352
..
3bc251d
100644
(file)
--- a/
board/mbx8xx/vpd.c
+++ b/
board/mbx8xx/vpd.c
@@
-47,7
+47,7
@@
#define IIC_BD_FREE (BD_IIC_START + 3*sizeof(cbd_t))
/* FIXME -- replace 0x2000 with offsetof */
#define IIC_BD_FREE (BD_IIC_START + 3*sizeof(cbd_t))
/* FIXME -- replace 0x2000 with offsetof */
-#define VPD_P ((vpd_t *)(C
FG_IMMR + 0x2000 + CFG
_DPRAMVPD))
+#define VPD_P ((vpd_t *)(C
ONFIG_SYS_IMMR + 0x2000 + CONFIG_SYS
_DPRAMVPD))
/* transmit/receive buffers */
#define IIC_RX_LENGTH 128
/* transmit/receive buffers */
#define IIC_RX_LENGTH 128
@@
-69,7
+69,7
@@
vpd_packet_t * vpd_find_packet(u_char ident)
void vpd_init(void)
{
void vpd_init(void)
{
- volatile immap_t *im = (immap_t *)C
FG
_IMMR;
+ volatile immap_t *im = (immap_t *)C
ONFIG_SYS
_IMMR;
volatile cpm8xx_t *cp = &(im->im_cpm);
volatile i2c8xx_t *i2c = (i2c8xx_t *)&(im->im_i2c);
volatile iic_t *iip;
volatile cpm8xx_t *cp = &(im->im_cpm);
volatile i2c8xx_t *i2c = (i2c8xx_t *)&(im->im_i2c);
volatile iic_t *iip;
@@
-120,7
+120,7
@@
void vpd_init(void)
*/
int vpd_read(uint iic_device, uchar *buf, int count, int offset)
{
*/
int vpd_read(uint iic_device, uchar *buf, int count, int offset)
{
- volatile immap_t *im = (immap_t *)C
FG
_IMMR;
+ volatile immap_t *im = (immap_t *)C
ONFIG_SYS
_IMMR;
volatile cpm8xx_t *cp = &(im->im_cpm);
volatile i2c8xx_t *i2c = (i2c8xx_t *)&(im->im_i2c);
volatile iic_t *iip;
volatile cpm8xx_t *cp = &(im->im_cpm);
volatile i2c8xx_t *i2c = (i2c8xx_t *)&(im->im_i2c);
volatile iic_t *iip;