Commit 198ea9e294e38cea49f9f2d9b911bdfdd20e48dc

Authored by wdenk
1 parent b2daeb8e0f
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

Last minute fixes / cleanup.

Showing 3 changed files with 9 additions and 8 deletions Side-by-side Diff

board/evb64260/pci.c
... ... @@ -9,11 +9,11 @@
9 9  
10 10 static const unsigned char pci_irq_swizzle[2][PCI_MAX_DEVICES] = {
11 11 #ifdef CONFIG_ZUMA_V2
12   - {0, 0, 0, 0, 0, 0, 0, 29,[8...PCI_MAX_DEVICES - 1] = 0},
13   - {0, 0, 0, 0, 0, 0, 0, 28,[8...PCI_MAX_DEVICES - 1] = 0}
  12 + {0, 0, 0, 0, 0, 0, 0, 29,[8 ... PCI_MAX_DEVICES - 1] = 0},
  13 + {0, 0, 0, 0, 0, 0, 0, 28,[8 ... PCI_MAX_DEVICES - 1] = 0}
14 14 #else /* EVB??? This is a guess */
15   - {0, 0, 0, 0, 0, 0, 0, 27, 27,[9...PCI_MAX_DEVICES - 1] = 0},
16   - {0, 0, 0, 0, 0, 0, 0, 29, 29,[9...PCI_MAX_DEVICES - 1] = 0}
  15 + {0, 0, 0, 0, 0, 0, 0, 27, 27,[9 ... PCI_MAX_DEVICES - 1] = 0},
  16 + {0, 0, 0, 0, 0, 0, 0, 29, 29,[9 ... PCI_MAX_DEVICES - 1] = 0}
17 17 #endif
18 18 };
19 19  
board/omap1610inn/flash.c
... ... @@ -2,7 +2,7 @@
2 2 * (C) Copyright 2001
3 3 * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net
4 4 *
5   - * (C) Copyright 2001
  5 + * (C) Copyright 2001-2004
6 6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 7 *
8 8 * (C) Copyright 2003
... ... @@ -80,6 +80,7 @@
80 80 void flash_unprotect_sectors (FPWV * addr);
81 81 int flash_erase (flash_info_t * info, int s_first, int s_last);
82 82 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt);
  83 +void flash_unlock(flash_info_t * info);
83 84  
84 85 /*-----------------------------------------------------------------------
85 86 */
... ... @@ -118,7 +119,7 @@
118 119  
119 120 /*-----------------------------------------------------------------------
120 121 */
121   -flash_unlock(flash_info_t * info)
  122 +void flash_unlock(flash_info_t * info)
122 123 {
123 124 int j;
124 125 for (j=2;j<CFG_MAX_FLASH_SECT;j++){
... ... @@ -71,12 +71,12 @@
71 71  
72 72 static unsigned int bin2bcd (unsigned int n);
73 73 static unsigned char bcd2bin (unsigned char c);
74   -static unsigned char rtc_read (unsigned char reg);
75   -static void rtc_write (unsigned char reg, unsigned char val);
76 74  
77 75 /* ************************************************************************* */
78 76 #ifdef CONFIG_SXNI855T /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
79 77  
  78 +static unsigned char rtc_read (unsigned char reg);
  79 +static void rtc_write (unsigned char reg, unsigned char val);
80 80 static void soft_spi_send (unsigned char n);
81 81 static unsigned char soft_spi_read (void);
82 82 static void init_spi (void);