From a146e8b189abf73b8bac0bfa9c8c3c1b3bfe5507 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 4 Apr 2014 15:25:02 +0900 Subject: powerpc: remove NX823 board support Enough time has passed since this board was moved to Orphan. Remove. - Remove board/nx823/* - Remove include/configs/NX823.h - Clean-up ifdef(CONFIG_NX823) - Move the entry from boards.cfg to doc/README.scrapyard Signed-off-by: Masahiro Yamada --- include/asm-generic/u-boot.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/asm-generic') diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h index e78196797bd..c18e4ca27a3 100644 --- a/include/asm-generic/u-boot.h +++ b/include/asm-generic/u-boot.h @@ -108,9 +108,6 @@ typedef struct bd_info { unsigned int bi_opbfreq; /* OPB clock in Hz */ int bi_iic_fast[2]; /* Use fast i2c mode */ #endif -#if defined(CONFIG_NX823) - unsigned char bi_sernum[8]; -#endif #if defined(CONFIG_4xx) #if defined(CONFIG_440GX) || \ defined(CONFIG_460EX) || defined(CONFIG_460GT) -- cgit v1.2.3 From dec1861be90c948ea9fb771927d3d26a994d2e20 Mon Sep 17 00:00:00 2001 From: York Sun Date: Mon, 10 Feb 2014 14:02:52 -0800 Subject: driver/mxc_i2c: Move static data structure to global_data This driver needs a data structure in SRAM before SDRAM is available. This is not alway the case using .data section. Moving this data structure to global_data guarantees it is writable. Signed-off-by: York Sun CC: Troy Kisky --- include/asm-generic/global_data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asm-generic') diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 707400e8479..e98b661e358 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -79,6 +79,9 @@ typedef struct global_data { #endif #if defined(CONFIG_SYS_I2C) int cur_i2c_bus; /* current used i2c bus */ +#endif +#ifdef CONFIG_SYS_I2C_MXC + void *srdata[10]; #endif unsigned long timebase_h; unsigned long timebase_l; -- cgit v1.2.3